1. atof:將字串轉為倍精度浮點數. double atof ( const char * str );. ex: char buffer[] = "2.675";. double f = atof(buffer);. 2. atoi:將字串轉為整數.
確定! 回上一頁