c++ system pause code example
Example 1: c++ pause
#include <Windows.h>
int main() {
//do stuff
system("Pause");
}
Example 2: c++ pause
system("pause");
Example 3: system("pause") note working c++
#include <cstdlib> // use this header in order to include `system` in `main`
#include <iostream> // use this header in order to include `cin` in `main`