返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. #include<sstream>
  4. using namespace std;
  5. int main()
  6. {
  7.    stringstream t;
  8.    string a="123";
  9.    string b="456";
  10.    string c;
  11.    t<<a<<b<<"...";
  12.    t>>c;
  13.    cout<<c<<endl;
  14.    system("pause");
  15.    return 0;   
  16. }   
複製代碼

TOP

返回列表