**************库函数atio的C实现*************
int main(void)
{
char *s="1234";
int num=0;
while(*s!='\0'){
num=num*10+*s-'0';
s++;
}
return num;
}
**************库函数atio的C实现*************
int main(void)
{
char *s="1234";
int num=0;
while(*s!='\0'){
num=num*10+*s-'0';
s++;
}
return num;
}