System ("pause"); - C++ Forum - cplusplus.com - The C++ Resources Network
GCC and by extension MingW allows you to declare a function as a destructor to the program as a whole. This is by far my favorite method as it pauses your program at the end without you having to enter anything AND does not prevent you from calling the sa...