看板 C_and_CPP 關於我們 聯絡資訊
const string &Str_hypertofile 這是我傳入的一個參數 我希望能在後面+".txt" 但是一直顯示不符合 請問有什麼方法可以改寫嗎 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.119.163.250
NDark:const型態不能修改,要改用其他變數來存 04/08 11:56