C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>void main(){ char a[1000]; int i,n; gets(a); n=str…… 题解列表 2021年12月30日 0 点赞 1 评论 214 浏览 评分:9.9
优质题解 C语言训练-大、小写问题 摘要:解题思路:C标准中有一个一个头文件,这里面定义了一批C语言字符处理函数,用于测试字符是否属于特定的字符类别,如字母字符、控制字符、数字、等等 头文件: 函数: (1)int islower(in…… 题解列表 2022年01月18日 2 点赞 3 评论 3431 浏览 评分:8.0
1124: C语言训练-大、小写问题 摘要:解题思路:100以内的字符串,依次判断每个字符的值,是大写则切换成小写(+32);其它类型直接输出;注意事项:无参考代码:#include<stdio.h>#include<string.h>char…… 题解列表 2022年01月19日 0 点赞 0 评论 193 浏览 评分:0.0
Hifipsysta-1124题-C语言训练-大、小写问题(C++代码)7行代码搞定 摘要:```cpp #include #include #include using namespace std; int main(){ string str; getl…… 题解列表 2022年01月30日 0 点赞 0 评论 132 浏览 评分:0.0
常用懒人解法 摘要:解题思路:直接调用内置函数tolower(),作用是将大写字母字符转成小写字符注意事项:非万能头选手记得引用ctype头文件参考代码:#include<bits/stdc++.h>using name…… 题解列表 2022年02月12日 0 点赞 0 评论 250 浏览 评分:9.9
[Sapphire]1124:大小写转换(C语言代码) 摘要:解题思路:大写字母+=32=小写字母参考代码:#include<stdio.h> #include<string.h> int main() { int i; char st…… 题解列表 2022年02月16日 0 点赞 0 评论 221 浏览 评分:0.0
C语言训练-大、小写问题 为什么不能 gets(a); strlwr(a);这样写? 摘要:解题思路:注意事项:参考代码: &nb 题解列表 2022年03月01日 0 点赞 0 评论 166 浏览 评分:0.0
C语言训练-大、小写问题(定义函数的写法,超详细哦,走过路过不要错过) 摘要:解题思路:找出A到Z的函数,并将其改成a到z。注意事项:注意ASII码值的转换,注意puts与printf的区别。参考代码:#include#includevoid full(char *a){ /…… 题解列表 2022年04月24日 0 点赞 0 评论 302 浏览 评分:9.9
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int T(){ int i=0,L; char a[50]; gets(a);…… 题解列表 2022年05月06日 0 点赞 0 评论 123 浏览 评分:0.0
C语言训练-大、小写问题 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int main(){ getline(cin,s); fo…… 题解列表 2022年05月10日 0 点赞 0 评论 161 浏览 评分:0.0