会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
Mi2ac1e's blog
首页
新随笔
联系
订阅
管理
2021年5月17日
《从零开始的C语言生活》实现简易的strcmp函数功能
摘要: #include <stdio.h> int MyStrcmp(char *p1,char *p2); int MyStrcmp(char *p1,char *p2){ for(;*p1==*p2;p1++,p2++){ if(*p1=='\0'){ return 0; } } return *p1
阅读全文
posted @ 2021-05-17 22:58 mi2ac1e
阅读(195)
评论(0)
推荐(0)
公告