|
||||||
| C and C++ C and C++ forum for discussing all forms of C except for C#. These languages are powerful low level languages used for creating Operating Systems, Device Drivers, compilers and much more. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Dear all
I'd like to ask how to write the functions (class destructor)to delete the whole binary search tree which is implemented as class objects, each node was dynamically allocated by pointers. How to write a function to (dynamically) destroyed all the nodes? (to become empty tree), i am an inexperienced c++ code writer Thank you very much |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to write image data to binary PGM file format(P5)? | tommy_chai | C and C++ | 5 | 03-30-2008 05:47 AM |
| How to write a Simulator for SML code | debug | C and C++ | 3 | 10-30-2007 11:14 AM |
| How to write such code??? | stephen0606 | C and C++ | 5 | 10-10-2007 08:24 PM |
| need help with simple C++ TicTacToe game with AI | flupke1 | C and C++ | 11 | 08-14-2007 10:27 AM |
| Xav | ........ | 1276.19 |
| MeTh0Dz|Reb0rn | ........ | 1048.58 |
| marwex89 | ........ | 869.98 |
| morefood2001 | ........ | 868.04 |
| John | ........ | 865.15 |
| WingedPanther | ........ | 761.06 |
| Brandon W | ........ | 684.87 |
| chili5 | ........ | 294.12 |
| Steve.L | ........ | 216.18 |
| dargueta | ........ | 192.86 |
Goal: 100,000 Posts
Complete: 81%