• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






WorkingNotes

一个野生程序猿
 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

12 2013 档案

 
两个字符串分解函数
摘要:void StrSplit(int n, char *buf, char *buf2){ int i = 0; static int count = 0; /*使用静态局部变量count计数*/ if (count == strlen(buf)) count = 0; for (i = 0; i strlen(src)) return; if (end > strlen(src)) end = strlen(src); while (i < end) { dest[i-start] = src[i]; i++; } dest[i-start... 阅读全文
posted @ 2013-12-04 10:33 InnovatorOne 阅读(237) 评论(0) 推荐(0)