C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h>#include<string.h>//处理字符串的头文件int main(){ char s[100]; int i,len; gets(s);//输入一个字符串以…… 题解列表 2017年06月18日 4 点赞 0 评论 2311 浏览 评分:9.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:输出超额(没有控制100个字符):#include <stdio.h> int main() { char ch; while((ch=getchar())!='\n&#…… 题解列表 2019年01月16日 0 点赞 0 评论 1007 浏览 评分:8.8
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[110]={0}; gets(str); …… 题解列表 2017年08月28日 2 点赞 7 评论 2600 浏览 评分:8.0
Manchester-大、小写问题 摘要:解题思路:输入字符串,然后输出,输出的时候,遇到大写字母,输出对应的小写字母;注意事项:别这样写:输出超限,我的理解是,题目明确100以内字符,测试数据有超过100个字符的;不过种思路省空间:#inc…… 题解列表 2017年12月09日 16 点赞 9 评论 1383 浏览 评分:8.0
。。哗哗哗。。:C语言训练-大、小写问题 (C语言代码) 摘要:#include<stdio.h> #include<string.h> int main() { int k,i; char str[100]; gets(str); for…… 题解列表 2019年02月21日 1 点赞 2 评论 771 浏览 评分:8.0
getline读空格(12%看这里) 摘要:```cpp #include #include using namespace std; int main() { string a; getline(cin,a);//可以读空格…… 题解列表 2020年02月08日 0 点赞 4 评论 1038 浏览 评分:8.0
JakeLin-题解1124:C语言训练-大、小写问题 (C++代码) 摘要:```cpp #include #include using namespace std; int main(){ char s[100]; gets(s); for(int i=…… 题解列表 2020年02月16日 0 点赞 2 评论 623 浏览 评分:8.0
[C语言训练ctype.h中的int tolower(int c)大写字符转换为小写字符 摘要:```c #include #include int main() { int c; while((c=getchar())!=EOF){ putchar…… 题解列表 2020年04月16日 0 点赞 0 评论 384 浏览 评分:8.0
优质题解 C语言训练-大、小写问题 摘要:解题思路:C标准中有一个一个头文件,这里面定义了一批C语言字符处理函数,用于测试字符是否属于特定的字符类别,如字母字符、控制字符、数字、等等 头文件: 函数: (1)int islower(in…… 题解列表 2022年01月18日 2 点赞 3 评论 3431 浏览 评分:8.0
C语言训练-大、小写问题 (C语言代码) 摘要:解题思路:预计用fgets接受输入,假设用例来自标准输入端,读取一行长度不超过100的字符串,到'\n'为止:#include<stdio.h> #include<ctype.h> …… 题解列表 2018年07月24日 2 点赞 0 评论 1131 浏览 评分:7.3