字符转整数(包括负数)*/#includeint atoi(char *string) {int value=0,flag=0;while((*string)!='\0') {if(*string=='-') //如果首位是'-'号flag标志位值1 {flag=1 ...
確定! 回上一頁