C++ examples for File Stream:cin
Press enter to continue
#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int nNumberofArgs, char* pszArgs[]) { cout<< "Press Enter to continue..." <<endl; cin.ignore(10, '\n'); cin.get(); /*from w ww. j a v a 2s.com*/ return 0; }