volcanol的工控博客
Email : lilinly225@126.com 索要资料加QQ 点击进入 或 点击左侧的资料分享专用帖

volcanol ---- View OF Linux Can Appreciate Nature OF Linux

天行健,君子以自强不息

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年1月15日

摘要: 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 阅读(762) 评论(2) 推荐(0) 编辑

volcanol ----View OF Linux Can Appreciate Nature OF Linux。