FAQs about working with your IDE.
These apply to more than one IDE. Be sure to check the main course web pages under your specific IDE.
My program runs but the output window disappears instantly when the program terminates. How can I make it wait for me?
This is a stupid "feature" of some of the Wintel IDEs. Fortunately, it is easy to fix. Simply have your program ask for some input before the final return from your main function. For example:
cout << "Enter any character to terminate." << endl;
char junk;
cin >> junk;
return 0; // return from main function