会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Chris83
博客园
首页
新随笔
联系
订阅
管理
2018年8月1日
删除行字符串开头的空格、tab 、行结尾的空格、tab和换行
摘要: int deleteSpaceEnterTab(char* srcstr) { if (NULL == srcstr) { printf("parameter error\n"); return -1; } /* 删除行尾的换行符 */ int tmpLen = strlen(srcstr); while ('\r' == ...
阅读全文
posted @ 2018-08-01 13:23 Chris83
阅读(810)
评论(0)
推荐(0)
编辑
按照指定字符分割字符串,并返回结果
摘要: 1:编译环境 2:示例代码 3:输出结果
阅读全文
posted @ 2018-08-01 11:31 Chris83
阅读(968)
评论(0)
推荐(0)
编辑
公告