作者daniel76308 (嘿嘿嘿)
看板C_and_CPP
標題[問題] 如何將一個pointer轉為string
時間Wed Apr 8 11:51:04 2009
const string &Str_hypertofile
這是我傳入的一個參數
我希望能在後面+".txt"
但是一直顯示不符合
請問有什麼方法可以改寫嗎
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.119.163.250
1F:推 NDark:const型態不能修改,要改用其他變數來存 04/08 11:56