atof,atoi,atol,strtod,strtoul. 表頭文件 ... 將字符串a,b,c 分別採用10,2,16進制轉換成數字*/ #include<stdlib.h> ... printf(“c=%d\n”,strtol(c,NULL,16)); }.
確定! 回上一頁