发布时间:2015-11-16 12:20:22
#include <iostream>using namespace std;#define mysizeof(value) (char *)(&value+1) - (char *)&valueint main(void){ int i; double f; double a[4]; double *q; cout << mysizeof(i) << endl; &.........【阅读全文】
发布时间:2015-11-16 12:01:39
//方法一int main(void){ int i = 65536; cout << i; //16位输出0 int i = 65535; cout << i; //16位输出-1 return 0;}//方法二int main(void){ int i = ~0; if (i > 655.........【阅读全文】
发布时间:2015-11-12 14:36:50
1.a = a+bb = a-ba = a-b2.a ^= bb ^= aa ^= b......【阅读全文】