fork download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. char name [9];
  8. cout<<"請輸入您的姓名 :";
  9. cin>>name;
  10. cout<<endl;
  11. cout<<"歡迎"<<setw(8)<<name<<"同學加入程式設計師的行列 ! \n";
  12. cout<<endl;
  13. system("Pause");
  14. return 0;
  15. }
Success #stdin #stdout #stderr 0.01s 5296KB
stdin
劉善華
stdout
請輸入您的姓名 :
歡迎劉善華同學加入程式設計師的行列 ! 

stderr
sh: 1: Pause: not found