I want to be able to do something along the lines of Press any key to exit at program completion, but have no been able to figure out how to.
Press any key to exit
When I run
if we usegetchar();, getch(); or system("pause"); when we open the debug folder and run the file .exe it still exit immediately :)) i use cin >> variable; it certain pause the screen :))
getchar();
getch();
system("pause");
cin >> variable;