字符串的输入输出处理 (C语言代码) 摘要:#include<stdio.h>#include<string.h>int main(){ int i,l,n; char str[1001]; scanf("%d",&n); // fflush…… 题解列表 2017年09月21日 0 点赞 0 评论 1168 浏览 评分:9.9
字符串的输入输出处理 (C语言代码) 摘要:解题思路:gets()函数用来获取一行内容,scanf()用来获取一空格为间隔的字符串。puts()函数用来输出一行,并在字符串结尾输出一个换行符,这个函数你也可以不使用,用一个循也可以输出。注意事项…… 题解列表 2017年08月03日 0 点赞 0 评论 852 浏览 评分:8.0
字符串的输入输出处理 (C语言代码) 摘要:解题思路:1.用gets()去接收字符串是包含空格的,仅仅以回车为结束标志。这是重点参考代码:#include"stdio.h" int main() { char a[1000]; …… 题解列表 2017年08月02日 17 点赞 9 评论 2104 浏览 评分:5.3
字符串的输入输出处理 (C语言代码) 摘要:#include<stdio.h> int main(void) { int n,i; char s[100][100]; scanf("%d",&n); getc…… 题解列表 2017年07月25日 1 点赞 11 评论 2204 浏览 评分:9.5
字符串的输入输出处理 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[1000]; int n,i; scanf("%d",&n); gets(a); whi…… 题解列表 2017年07月11日 0 点赞 0 评论 871 浏览 评分:0.0