sscanf () - 從一個字符串中讀進與指定格式相符的數據。 ... string number = "-2015.9"; double numberDate; sscanf(number.c_str(),"%lf",&numberDate); printf("%.
確定! 回上一頁