Re: TOTAL newb
A common way is also to "pause" the program right in the end. It can be done in various ways. You can choose to you use the system-command, pause, in Windows, which will do the job for you, or you can wait for user-input in the end.
system("pause");
or
getchar();
These functions shall be thrown in right before the end of the main-function. Note that the first solution using the pause-command only will work on platforms having the pause-command.
|