c++ window pause code example
Example 1: 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`
Example 2: pause the console c++
// This is only one of many ways but you can use
getchar();