庫函數原型: #inclue int atoi(const char *nptr); 用法:將字符串裏的數字字符轉化爲 ... if (*str == '-') //第一個字符若是'-',說明可能是負數
確定! 回上一頁