How to pause | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to pause

I am learning Basic in school, and wanted to learn c++ on my own. I want to know the c++ equivalent to the PAUSE command. Thanks in advance.

3rd Sep 2017, 3:21 AM
Christian Kane
Christian Kane - avatar
1 Answer
+ 1
The C++ language does not offer the concept of pause. You either have to use system commands or implement your own pseudo pause. System calls/commands are dependent on the OS.
3rd Sep 2017, 4:01 AM
aklex
aklex - avatar