pause cmake a run c++ code example Example: c++ pause #include <Windows.h> int main() { //do stuff system("Pause"); }