My question is super simple, but I'm transitioning from C# to C++, and I was wondering what command holds the console window open in C++?
I know in C#, the most basic way is:
Console.ReadLine();
Or if you want to let the user press any key, its:
Console.ReadKey(true);
How do you do this in C++? The only reason I ask this simple of a question here, is that I haven't been able to find a good and clear answer out there on the internet.
question from:https://stackoverflow.com/questions/1908512/c-hold-the-console-window-open