Thanks to all you guys who helped me out on making my program pause without using getch() or system("pause");
here is a short example of what I did (I had to google as I was going insane!)
The only prob is that after it pauses you have to press a key then hit enter to quit the program, but what do you guys thinkCode://this is an example of another method to pause screen #include <iostream> using namespace std; int main() { cout << "Hello I am an example" << endl; cin.ignore(cin.rdbuf()->in_avail() + 1); // This is the NEW line!! return 0; }



LinkBack URL
About LinkBacks


