fork(1) download
  1. #include <iostream>
  2. #include <string>
  3. #include<stdio.h>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8. string ain;
  9. getline(cin,ain);
  10. cout << ain;
  11. system("pause");
  12. return 0;
  13. }
Success #stdin #stdout #stderr 0.01s 5324KB
stdin
Hello World is the conventional introduction
stdout
Hello World is the conventional introduction
stderr
sh: 1: pause: not found