@DTSCode, sorry yes, its just some basic source files, not a library. There should be no issues that I'm aware of with linux, as its almost all written in the standard library. The only exceptions that you will probably want to comment out are the audio functions at the bottom of FRepo.cpp. Make sure to comment out:
void Play_sound_file(string FileLoc);
void Play_sound_file_def(string FileLoc);
I kinda felt all dirty linking to the windows stuff, but it was easiest way to make it happen quickly ;)
@Superdude, if you check the Testrun.cpp file it may help. In general though, the basic idea is that menus are objects of a menu class that jump back & forth by calling the pointer to another menu by comparing the id string of the menu. For example, in the Testrun cpp:
1 2
|
CGenericMenu * main = new TCmdMenu ("CALCULATOR", "MAIN", "Main-Menu");
CGenericMenu * graph = new TCmdMenu ( "MAIN", define_function_names, 10, false, "CALCULATOR", "Delta-Vee Calculation Menu");
| |
for main (ie the main menu), "CALCULATOR" is the string id of the next menu down, "MAIN" is the string id of the menu itself, and "Main-Menu" is the title text that gets printed to screen in the command line between the double dashes.
under graph (meaningless name actually, the string id's are the only things that matter with menu navigation), define function names is an array of strings containing the keywords that can be used to access functions in that menu, (enter h or help in any menu to see a list of keywords available) 10 is the number of function keywords, "CALCULATOR" is the string id for the menu (again, important since it determines how other menus find a menu to call it)
When entering access keywords like "CALCULATOR" or "MAIN", always make sure to put it in uppercase. The program automatically switches input to uppercase in order to allow users to type in keywords in upper or lower case.
Hope that helps, best of luck :)
@Stormhawk, no worries, but this isnt the thread for it either. There should be a stickied thread on the topic of indenting somewhere around here.