标题:islower(ch)为什么能等价于ch>='a' &&ch<='z'
取消只看楼主
lj200821
Rank: 1
等 级:新手上路
帖 子:2
专家分:0
注 册:2010-5-23
结帖率:0
已结贴  问题点数:10 回复次数:0 
islower(ch)为什么能等价于ch>='a' &&ch<='z'
#include "stdio.h"
#include "ctype.h"
char myupper(char ch)
{if(islower(ch))  ch=ch-32;
    return ch;   
    }
main()
{
    char ch;
    while((ch=getchar())!='@')
            {ch=myupper(ch);
            putchar(ch);}
    }

islower(ch)为什么能等价于ch>='a' &&ch<='z'
搜索更多相关主题的帖子: islower 等价 
2010-06-23 20:56



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-311076-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.562035 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved