Original Post
Hello, I am making a game for my school project and Im having some troubles with loading a level. Right now all variables for the first level are declared and initialized inside my code, but I want to get it extern - in a text file to be exact -. I already asked in the 'General Programming' forum how I should do this, but there is 1 more thing that is 'Game Programming' like: Many examples I have seen have a menu inside their main-game file (main.cpp for example), I think this is fairly logic but I want to reload my main.cpp file everytime I enter a new level so it would not be smart to throw in my outer layer code (the main menu) inside this reloadable .cpp file. Please try to picture my situation, should I continue in this direction? Or should I not graduate cause of this? :P