fork download
  1. #include <iostream>
  2. #include <cstdlib>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. int x = 5;
  8. int y = 4;
  9. int z = x + y;
  10.  
  11. cout << ("5 + 4 is ") << z;
  12.  
  13. system("PAUSE");
  14. return 0;
  15. }
Success #stdin #stdout #stderr 0.01s 5316KB
stdin
Standard input is empty
stdout
5 + 4 is 9
stderr
sh: 1: PAUSE: not found