fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. cout << "Hello world!" << endl;
  6. system("pause");
  7. return 0;
  8. }
Success #stdin #stdout #stderr 0s 3340KB
stdin
Standard input is empty
stdout
Hello world!
stderr
sh: pause: not found