char response; std::cin >> response; system("EXIT");
I am assuming however you have windows as you have said that this is your favourite Operating System.
Hope it Helps otherwise use one of the other ways given, all should work.
Remember to #include <iostream> or the standard library (std) will not be found and thus you will get an error.
This post has been edited by v0rtex: 06 June 2010 - 12:58 AM