发布时间:2015-11-16 15:59:11
1.低效查法select ta.id from ta where ta.id not in (select tb.id from tb);2.高效查法 (使用连接查询)select ta.id from ta left join tb on ta.id = tb.id where tb.id is null;......【阅读全文】
发布时间:2015-11-16 15:38:24
#include <iostream>#include <stack>using namespace std;void Reverse(stack<int> s1, stack<int> s2){ for (int j=5; j>0; j--) { s1.push(j); } int stacksize = s1.size(); &n.........【阅读全文】
发布时间: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.........【阅读全文】