Quantcast
Channel: File Based AVL Tree - Code Review Stack Exchange
Browsing all 3 articles
Browse latest View live

Answer by user673679 for File Based AVL Tree

main:If the program fails to run correctly, we should exit with an error code, instead of returning 0. It might be nice to print a message saying what went wrong (to std::cerr). We can also avoid magic...

View Article



Answer by Jamal for File Based AVL Tree

This code appears to have a lot of excessive whitespace. I do understand that putting a space between parentheses is a type of style, but you also add blank lines in many unnecessary places.The biggest...

View Article

File Based AVL Tree

For class I have to write a program that reads (plaintext) numbers from a file, and inserts them into an AVL tree stored in another (binary) file. I cannot have more than about 10 nodes in memory at...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images