摘要: 一、代码 1 //将字符串中的小写字母转换为大写 2 #include 3 using namespace std; 4 //转换函数 5 char *fun(char *str) 6 { 7 int i=0; 8 int m=strlen(str); 9 cout='a'&&str[i]>a;26 fun(a);27 cout='a'&&str[i]='a'&&str[i]<='z')结果演示: 阅读全文
posted @ 2013-09-20 15:39 不懂编程的程序员 阅读(1078) 评论(0) 推荐(0) 编辑