5) string轉char*:呼叫string物件的c_str函式或data函式或copy函式。 ... printf_s("%s\n", constc); //列印const char*型別資料 return 0; }
確定! 回上一頁