I find it quite difficult to represent and visualize Binary Trees when they are (to be) printed out on the terminal or in some o/p window. Over here I have come up with a better solution to represent them using GraphViz. Its far easier to represent and visualize. Hope it will be helpful to those who think alike. Download the files and take a look at tree.png,, you will understand what I am talking about.. The function that is responsible for creating it is the print function in the .cpp file.