您的位置:首页 > 其它

compare signed with unsigned

2009-11-19 17:16 399 查看
if (signed < unsighed)

then:

     1.  signed be converted to unsigned;

     2.  compare

 

so if signed value is nagetive, then you will get surprise. (signed < unsighed) return false.

 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: