2012-04-07, 01:57 AM
For future reference if you have the std_lib_facilities.h file you can use the function call:
keep_window_open();
This will keep the window open until a character is entered.
Or you could make your own code that keeps the window open by adding this at the end of your main, but before your return statement.
string s;
cout << "Enter a character to exit...\n";
cin>>s;
keep_window_open();
This will keep the window open until a character is entered.
Or you could make your own code that keeps the window open by adding this at the end of your main, but before your return statement.
string s;
cout << "Enter a character to exit...\n";
cin>>s;

