摘要:
1 /* 2 StrToInt: 将字符串转换为整型数 3 */ 4 5 #include <stdio.h> 6 7 unsigned long int str_to_int(const char *source); 8 9 int main(int argc,char *argv[])10 {11 char str[5]="1234";12 unsigned long int test;13 14 test=str_to_int(str);15 printf("%d\n",test);16 17 return 0;18 }19 2... 阅读全文
posted @ 2012-01-15 11:33
volcanol
阅读(777)
评论(2)
推荐(0)

浙公网安备 33010602011771号