system pause code c++ code example Example: pause the console c++ // This is only one of many ways but you can use getchar();