"Bob Altman" <rd*@nospam.com> wrote in message
news:OO****************@TK2MSFTNGP14.phx.gbl...
Hi all,
I have an unmanaged console app written in C++. I can't figure out how to
get C++ to do the standard issue "press any key to continue" thing:
cout << "Press any key to continue: ";
cin >> <your code goes here>;
TIA,
- Bob
Here's one approach...
char cont;
cout << "Press Enter to continue.\n";
cin.get(cont);
// whatever is next...
--
Peter [MVP Visual Developer]
Jack of all trades, master of none.