看板 Programming 關於我們 聯絡資訊
※ 引述《andrewhanks (阿達)》之銘言: : 標題: [請益] 請問如何把system::string*轉換成char* : 時間: Sun Nov 5 12:19:47 2006 : : 就是在一個studio .net 2003 c++視窗程式中 : : 想把一個用開啟檔案 : : 所得到的檔案名稱轉換成char* : : 請問那該如何做? : : -- : ※ 發信站: 批踢踢實業坊(ptt.cc) : ◆ From: 140.116.112.163 : ※ 編輯: andrewhanks 來自: 140.116.112.163 (11/05 12:20) : ※ 編輯: andrewhanks 來自: 140.116.112.163 (11/05 12:22) : 推 tellmey:string.tochara....() 140.113.167.128 11/05 12:49 這個好像是標準的string to character 但是我那個是用“視窗化”開啟檔案後 所得到的stream 不是標準的string 好像不能用這個函式 : → andrewhanks:多謝 我找找看這個函式的用法 140.116.112.163 11/05 14:05 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.112.163 ※ 編輯: andrewhanks 來自: 140.116.112.163 (11/05 14:18)
tellmey:filedialog? 裡面的Filename應該就是strin140.113.167.128 11/05 14:23
tellmey:string了吧?140.113.167.128 11/05 14:24