会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Mi2ac1e's blog
首页
新随笔
联系
订阅
管理
2021年5月16日
《从零开始的C语言生活》自己动手写统计字数的函数
摘要: #include <stdio.h> unsigned int Mystrlen(const char *p){ unsigned int len; len=0; for(;*p!='\0';p++){ //循环查找,直到找到以\0结尾为止(C语言以\0作为字符串的结束符) len++; } ret
阅读全文
posted @ 2021-05-16 00:29 mi2ac1e
阅读(322)
评论(0)
推荐(0)
公告