fork download
  1. #include <iostream>
  2.  
  3. #include <cstdlib>
  4. using namespace std;
  5. int main ()
  6. {
  7. cout<<"hello"<<endl; //write-->cout
  8. cout<<"2A"<<endl; //writeln-->cout+endl
  9. system("PAUSE"); //readln-->PAUSE
  10. return 0;
  11. } //fine main
  12.  
Success #stdin #stdout #stderr 0s 15240KB
stdin
Standard input is empty
stdout
hello
2A
stderr
sh: 1: PAUSE: not found