Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

C++ press enter to continue function

// cin.ignore(); /* Will empty the buffer,
					used if user input is requested prior to use of cin.get(). */
    cout << "
Press ENTER to continue...";
    cin.get(); // Waits for user input in order for the program to move forward.
 
PREVIOUS NEXT
Tagged: #press #enter #continue #function
ADD COMMENT
Topic
Name
8+9 =