|
Binary Search Tree (C++)
|
Entry point for the Binary Search Tree demonstration program. More...
Go to the source code of this file.
Functions | |
| void | clearScreen () |
| void | pauseForUser () |
| int | main () |
Entry point for the Binary Search Tree demonstration program.
This file contains the main entry point for a console-based application that demonstrates the functionality of an iterative, pointer-based Binary Search Tree (BST).
The BST implementation uses raw pointers and manual dynamic memory management. All allocated nodes are properly destroyed, ensuring that no memory leaks are introduced and demonstrating good fundamental coding practices.
Users may insert, delete, search, and traverse integer values using a simple text-based menu. The program serves both as an educational example and as a usage demonstration for the BST API.
Although this project includes a complete and functioning BST, its primary purpose is to showcase the author's documentation style and technique, rather than to emphasize advanced coding features.
Definition in file BinarySearchTree.cpp.
| void clearScreen | ( | ) |
Definition at line 40 of file BinarySearchTree.cpp.
| int main | ( | ) |
Definition at line 53 of file BinarySearchTree.cpp.
| void pauseForUser | ( | ) |
Definition at line 44 of file BinarySearchTree.cpp.