On Windows:
system("pause");
and on Mac and Linux:
system("read");
will output “Press any key to continue…” and obviously, wait for any key to be pressed.
I hope thats what you meant
On Windows:
system("pause");
and on Mac and Linux:
system("read");
will output “Press any key to continue…” and obviously, wait for any key to be pressed.
I hope thats what you meant