会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liv_vil
You always have a choice !
博客园
首页
新随笔
联系
管理
订阅
2021年6月18日
trick
摘要: ##1.带空格字符串的读入 thanks char s[100]; int i=0; while(scanf("%c",&s[i]),s[i]!='\n')i++; s[i]='\0'; //遇到换行停止输入,并且将换行替换为\0 printf("%s\n",s); ##2.struct bool
阅读全文
posted @ 2021-06-18 19:22 liv_vil
阅读(334)
评论(0)
推荐(1)
公告