JKop writes:
How in the name of Christ can I do this with Standard C++!
Obviously:
std::cout << "Press any key to exit...";
char k;
std::cin >> k;
doesn't work.
All I want is one miserable keystroke.
Does anyone else think that Google is crap for searching
for programming related info?
I can see why you say that. But it is easy to forget that there are main
branches to google and this question is more likely to get results in google
groups (the old Deja) than the main group. I went to google groups and
typed "press any key" and got lots of promising looking hits on the first
page. I must admit I didn't look at them but the combination of skimming
and trying to guess what the newsgroup title means they are posted to are a
help. Sometimes looking at the number of messages is useful too. You can
also go to advanced search to limit the number of non-germane hits.