do you want it to wait specifically until enter is pressed or any key is pressed to continue?? I'm a complete beginner so I don't know if I'm stating something obvious but adding the line:
system("pause");
on windows will prompt a program to print, press any key to continue, on the console, but if you want it to specifically wait for the enter key only to continue then I'm not really sure. Perhaps if your desperate you could use an, if, or a, switch statement to make it continue only with the enter key but there MUST be an easier way than that. Like I said I'm really new to C++ but I really like this forum and I'd like to at least try to contribute to it.
OK!! I'm sorry scratch that last post of mine I figured it out and it's just what demosthenes2k8 said in that reply. at //what has to be placed here?, type
cin.ignore(); or cin.get();
and the program will wait until enter is pressed, I'm still not sure what the difference between the two are but they work. And don't forget to make the program pause before, return 0;, unless your using an environment that does that for you like visual C++. but if you use dev-cpp like me, you gotta do that yourself.