大小写转换 (C++代码)完全C++ 摘要:解题思路: 其实C++在之初更加推荐对自己的新特新使用迭代器的便利方式,所谓迭代器就是属于C++自身新模版的一种容器,旧时的容器使用iterator,新的容易定义方法用auto,据说C2…… 题解列表 2018年12月12日 0 点赞 0 评论 905 浏览 评分:9.9
大小写转换-题解(C/C++代码)(简单版) 摘要:#### 解题思路: 该题主要用到了toupper函数 transform(s.begin(),s.end(),s.begin(),::toupper);//小写变成大写 transform…… 题解列表 2020年02月10日 0 点赞 0 评论 1317 浏览 评分:9.9
大小写转换(c语言代码) 摘要:```c #include #include void toUp(char* strs); int main() { char strs[81] = { 0 }; while…… 题解列表 2023年04月29日 0 点赞 1 评论 413 浏览 评分:9.9
优质题解 大小写转换-题解(C++代码)string+transform方法 摘要:C++ stl函数库提供了很多的方法函数 这个题目是讲小写字母转换为大写字母 直接用string + transform 就可以直接完成 ```cpp string s; tra…… 题解列表 2019年06月21日 0 点赞 0 评论 3141 浏览 评分:9.9
ASCII码和toupper函数的结合 摘要:解题思路:用strlen求出本次输入的数组长度再根据ASCII码对应的小写字母范围用toupper函数调整注意事项:函数原型:extern int toupper(int c);在ctype.h文件中…… 题解列表 2019年06月02日 0 点赞 0 评论 694 浏览 评分:9.9
1204: 大小写转换 摘要:放心,题目的End of file其实没什么用,可以不处理 ```cpp #include #include using namespace std; int main() { …… 题解列表 2023年01月01日 0 点赞 0 评论 301 浏览 评分:9.9
java--study||O.o 摘要:参考代码:import java.util.Scanner; public class Main { public static void main(String[] args) …… 题解列表 2024年02月03日 0 点赞 0 评论 164 浏览 评分:9.9
大小写转换 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> #include<string> using namespace std; int main() { str…… 题解列表 2018年05月17日 0 点赞 0 评论 862 浏览 评分:9.9
大小写转换-题解(C语言代码) 摘要:对于这类题目,主要明白如何将小写字母更换为大写子母,这里以C内容作为解析 在ASCII码在ASCII码中,小写字母的ASCII码分布在第97-122位,大写字母的ASCII码分布在65-90位,前后…… 题解列表 2020年05月24日 0 点赞 0 评论 867 浏览 评分:9.9
大小写转换-题解(C语言代码) 摘要:```c #include #include int main() { char ch; ch=getchar(); while(ch!=EOF) { if(ch>=…… 题解列表 2020年11月09日 0 点赞 0 评论 987 浏览 评分:9.9