大小写转换
来源:互联网 发布:知乎的神回复 编辑:程序博客网 时间:2024/05/15 05:29
// 大小写转换.cpp : 定义控制台应用程序的入口点。////#include "stdafx.h"#include<iostream>#include<cstdio>#include<algorithm>#include<cstring>#include<stdlib.h>using namespace std;const int maxn = 1005;char str[ maxn ];//string str;//int _tmain(int argc, _TCHAR* argv[])int main(){while( cin >> str ){for( int i = 0; i < strlen( str ); ++i )str[ i ] = toupper( str[ i ] );cout << str << endl;}return 0;}
- 【大小写转换】
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 大小写转换
- 计算机网络第四讲--网络设备
- hdu 1757 A Simple Math Problem_矩阵快速幂
- [python] 1+...+100
- Find Max Subarray
- B/S验证控件总结
- 大小写转换
- Some of the most commonly used libraries for application development
- Java特性关于反射的一些技术
- Orale行列转置(摘抄)
- 点滴记录笔记_持续更新
- 如何动态设置窗口的光标
- Linux下查看文件和文件夹大小
- 面试题:最小数字
- hdu 4686 Arc of Dream_矩阵快速幂