1、string轉char* · 1) 呼叫string的data()函式 string str = "hello"; const char* p = str. · 2) 呼叫string的c_str()函式 string str=“world”; const ...
確定! 回上一頁