大小写转换 (C++代码)完全C++
摘要:解题思路: 其实C++在之初更加推荐对自己的新特新使用迭代器的便利方式,所谓迭代器就是属于C++自身新模版的一种容器,旧时的容器使用iterator,新的容易定义方法用auto,据说C2……
大小写转换-Java
摘要:参考代码:
import java.util.Scanner;
public class Main {
public static void main(String[] args) ……
大小写转换(c语言代码)
摘要:```c
#include
#include
void toUp(char* strs);
int main()
{
char strs[81] = { 0 };
while……
优质题解
大小写转换-题解(C++代码)string+transform方法
摘要:C++ stl函数库提供了很多的方法函数
这个题目是讲小写字母转换为大写字母
直接用string + transform 就可以直接完成
```cpp
string s;
tra……
1204: 大小写转换
摘要:放心,题目的End of file其实没什么用,可以不处理
```cpp
#include
#include
using namespace std;
int main()
{
……
ASCII码和toupper函数的结合
摘要:解题思路:用strlen求出本次输入的数组长度再根据ASCII码对应的小写字母范围用toupper函数调整注意事项:函数原型:extern int toupper(int c);在ctype.h文件中……