摘要: ##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)