[C++] string 和 char[]互轉 (string and char[] transform) | 逍遙文工作室

[C++] string 和 char[]互轉 (string and char[] transform) | 逍遙文工作室

瀏覽:1333
日期:2024-05-15
處理檔案資料,最常使用char[]或string來儲存字串,前者是字元陣列,為C所擁有,當然C++也可以使用;… ... 處理檔案資料,最常使用 char[] 或 string 來儲存字串,前者是 字元陣列,為C所擁有,當然C++也可以使用;而後者是C++獨有的 字串類別,可以產生 ......看更多