我的類中有多個需要const char *的方法,所以我將字符串轉換爲const char *,並將其存儲在類型爲local的變量中const char *。局部變量在構造函數中有效。
確定! 回上一頁