会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
whik
公众号:mcu149,博客:www.wangchaochao.top
博客园
首页
新随笔
联系
订阅
管理
2019年1月22日
C标准库string.h中几个常用函数的使用详解
摘要: strlen 计算字符串长度 size_t strlen(const char str) 计算字符串 str 的长度,直到空结束字符,但不包括空结束字符。 函数实现: int Strlen(const char str) { assert(str); int len = 0; while (( st
阅读全文
posted @ 2019-01-22 11:10 whik
阅读(4869)
评论(0)
推荐(0)
公告