C语言转换大小写
来源:互联网 发布:linux mkdir -m 编辑:程序博客网 时间:2024/05/22 14:33
- #include <stdio.h>
- #include <ctype.h> // Contains the tolower prototype
- void main (void)
- {
- int letter;
- for (letter = getchar(); ! feof(stdin); letter = getchar())
- putchar(tolower(letter));
- }
- #include <stdio.h>
- #include <string.h>
- void main (void)
- {
- char line[255]; // Line of text read
- while (fgets(line, sizeof(line), stdin))
- fputs(strupr(line), stdout);
- }
本文出自 “阿凡达” 博客,请务必保留此出处http://shamrock.blog.51cto.com/2079212/878528
0 0
- C语言转换大小写
- C语言大小写转换
- C语言转换大小写
- C语言大小写转换
- c语言的大小写转换
- 【c语言】大小写字母转换
- C语言实现大小写转换
- C语言大小写字母转换
- c语言字符数组大小写转换
- C语言实现大小写字母的转换
- C语言基础 字母大小写转换
- C语言实验——大小写转换
- c语言 字符大小写的转换
- C语言实验——大小写转换
- C语言 大小写字符转换输出
- C语言实验——大小写转换
- C语言实验——大小写转换
- C语言字符串中大小写字母转换
- SQL 基本语句
- shell脚本报错:"[: =: unary operator expected"
- 三种jsp下载文件的方法
- webx学习手册
- C语言or和and运算
- C语言转换大小写
- Javascript检测用户注册信息
- 获取JDBC中的ResultSet的记录的条数
- 网页背景设置
- Python之道(一)之安装Python
- DIV+CSS例子
- opencv排错总结
- Rails4.1 Action View概述
- struts2基本配置