tolower
来源:互联网 发布:淘宝平铺拍摄技巧 编辑:程序博客网 时间:2024/05/01 19:47
原型:extern int tolower(int c);
用法:#include <ctype.h>
功能:将字符c转换为小写英文字母
说明:如果c为大写英文字母,则返回对应的小写字母;否则返回原来的值。
举例:
// tolower.c
#include <syslib.h>
#include <ctype.h>
main()
{
char *s="Hello, World!";
int i;
clrscr(); // clear screen
printf("%s/n",s);
for(i=0;i<strlen(s);i++)
{
putchar(tolower(s[i]));
}
getchar();
return 0;
}
相关函数:toupper
- tolower
- tolower
- tolower
- tolower
- tolower
- tolower()
- tolower/toupper
- tolower.c
- tolower() 函数
- tolower用法
- tolower函数
- tolower (Function)
- tolower函数的用法
- tolower <ctype.h> <cctype>
- toupper 和 tolower
- toupper, tolower, isupper, islower
- strdup tolower toupper 实例
- poj1256 tolower函数
- ping 网络(数据中心security check)
- 我的飞鸽传书!我的脚!
- 八叉树
- JAVA的反射
- 结合struts使用AJAX验证密码是否正确(二)
- tolower
- date
- gridview
- 结合struts使用AJAX验证密码是否正确(三)
- 回复
- Iframe的自适应问题解决
- 图片
- 数据库的练习01
- init 6和reboot的区别