將int轉成string i2str << i; // 將數字100 輸入i2str i2str >> str; // 將數字100 輸出至str cout << str << endl ; int j = 0;. //將string轉成int.
確定! 回上一頁