Originally posted by dfanuk:
I have been through many of the NeHe OpenGL tutorials now and feel I have a good basis for starting my project.
My problem at the moment is thinking about the structure of the program. I intend to have an initial welcome and menu screen before the user progresses to the main part of the program by clicking on the relevant button.
Should I create a new C++ source file for each screen or just do it all in one? My reasoning here is that there will be different uses for keyboard presses on different screens and it might get a bit complicated to keep track of what's going on if it's all kept in one source file.
What is the usual practise for this sort of thing, or what would you advise?
This is my first proper C++ program as well as my first OpenGL program! I have done some C, Java and Eiffel (the latter 2 being OO languages) so am not finding the C++ too difficult.