controlando no Windows

#include <iostream>
using namespace std;
int main()
{
 //example on windows: try to open cmd and write pause command or echo hello (what you write between system("......"); is send to cmd)
 //this isn't for windows only but in linux ,ubunto,... .
 system("pause"); 
}
Hungry Hare