Pause screen at program completion in C

前端 未结 7 479
名媛妹妹
名媛妹妹 2020-12-17 06:00

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.

When I run

相关标签:
7条回答
  • 2020-12-17 06:49

    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 :))

    0 讨论(0)
提交回复
热议问题