Last active
December 11, 2015 23:18
-
-
Save austinglaser/4675600 to your computer and use it in GitHub Desktop.
An alternate main for binary_search_tree_driver.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void printUsage(char call[]) { | |
cout << " Usage: " << call << " [--retrograde]" << endl; | |
} | |
int main (int argc, char* argv[]) | |
{ | |
if (argc == 2 && strcmp(argv[1], "--retrograde") == 0) RETROGRADE_MODE = 1; | |
else if (argc != 1) { | |
printUsage(argv[0]); | |
return -1; | |
} | |
UTFrameworkInit; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks, i incorporated this to the new version of the driver and will push it later this evening. I really appreciate this kind of stuff.