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 ArticleAnswer 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 ArticleFile 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
More Pages to Explore .....