使用Convert 方法比實作IConvertible 的一般物件更有用。 ... 點數) char myString [] = “1111” ; // 宣告字串(字元陣列) int a = atoi ( myString ); // 將字串轉整數.
確定! 回上一頁