scorpioyu
全部博文(41)
dump(1)
gnuplot(0)
graphics(1)
kerberos(0)
audit(2)
XCP(1)
tools(2)
trivial(1)
xenbus(2)
evtchn(3)
xen(0)
ip_conntrack(1)
iptables(7)
netfilter(5)
2010年(41)
vv1133
wsysx
huier_10
zhu_9527
yanwei_3
gray1982
分类: LINUX
2010-01-27 11:19:11
// Author: poseidonyu #include <stdio.h>#define INT_MAX ((int)(~0U>>1))#define INT_MIN (-INT_MAX - 1)int main(){ printf("INT_MAX = %d, INT_MIN = %d\n\n", INT_MAX, INT_MIN); printf("~0U = %x, (~0U>>1) = %x\n", ~0U, (~0U>>1)); return 0;}/*INT_MAX = 2147483647, INT_MIN = -2147483648~0U = ffffffff, (~0U>>1) = 7fffffff*/
上一篇:inline and __inline__
下一篇:ip conntrack
chinaunix网友2011-08-07 11:45:22
请解释这是何意 for(i=1;i<=v;i++) f[i]=INT_MAX; 谢谢!
登录 注册