返回列表 發帖
本帖最後由 黃宥華 於 2020-5-15 19:38 編輯
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<string>
  4. using namespace std;
  5. int main()
  6. {
  7.     string p;
  8.     cout<<"輸入有空白的字串";
  9.     getline(cin,p);
  10.     cout<<"你輸入的是"<<p;  
  11.     system("pause");
  12.     return 0;   
  13. }
複製代碼
hahahahahahahaha

TOP

返回列表