摘要:
select * from emp;select max(sal) from emp;--sal中最大值select min(sal) from emp;--sal中最小值select avg(sal) from emp;--sal的平均值select count(sal) from emp;--统... 阅读全文
posted @ 2015-05-02 17:58
爱白菜的小昆虫
阅读(236)
评论(0)
推荐(0)
摘要:
int的负数比正数多一个,则有一个负数在int范围内没有对应的正数最大正整数用十六进制,很容易表示:0x7f ff ff ffint num = 0x7fffffff;num = -num;printf("%d\n", num);printf("%d\n", -num);最小负整数则是 int... 阅读全文
posted @ 2015-05-02 13:54
爱白菜的小昆虫
阅读(1716)
评论(0)
推荐(0)
摘要:
__int64 num;scanf("%I64d", &num);printf("%I64d\n", num);long long num;scanf("%lld", &num);printf("%lld\n", num); 阅读全文
posted @ 2015-05-02 13:44
爱白菜的小昆虫
阅读(293)
评论(0)
推荐(0)
浙公网安备 33010602011771号