开发者

How we can compare if two numbers are in any range in MFC(VC++)?

How we can compa开发者_开发技巧re if two numbers are in any range in MFC(VC++)? I want to compare if 172 and 185 lies in range 128-191 ? How i can do this in VC++? Thanks.


Usually you just compare the input to the two ends of the range. if (lower < x && x < upper) ...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜