摘要:
int main(void){ int a=3,b=4,z=1; printf("%d\n",b/a&~z); return 0;}这里~z的值可不是0哦,在X86CPU里存储单元里,显示为:那... 阅读全文
posted @ 2012-07-07 22:13
wdliming
阅读(118)
评论(0)
推荐(0)
摘要:
#include #include #define F(X,Y) (X)*(Y)struct s{ int x; int y;}data[2]={{10,100},{20,200}};int main(void)... 阅读全文
posted @ 2012-07-07 21:51
wdliming
阅读(166)
评论(0)
推荐(0)
摘要:
#include #include #define F(X,Y) (X)*(Y)struct s{ int x; int y;}data[2]={{10,100},{20,200}};int main(void)... 阅读全文
posted @ 2012-07-07 21:51
wdliming
阅读(101)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std;int length;void PrintSolutions(int *flag){ for (in... 阅读全文
posted @ 2012-07-07 21:21
wdliming
阅读(109)
评论(0)
推荐(0)
摘要:
#include #include #include #include using namespace std;int length;void PrintSolutions(int *flag){ for (in... 阅读全文
posted @ 2012-07-07 21:21
wdliming
阅读(101)
评论(0)
推荐(0)
摘要:
直接上代码:/*设置两个指针*one、*two都指向单链表的头节点。其中* two的移动速度是*one的2倍。当* two指向末尾节点的时候,*one正好就在中间了。*/#include #include #de... 阅读全文
posted @ 2012-07-07 20:33
wdliming
阅读(164)
评论(0)
推荐(0)
摘要:
直接上代码:/*设置两个指针*one、*two都指向单链表的头节点。其中* two的移动速度是*one的2倍。当* two指向末尾节点的时候,*one正好就在中间了。*/#include #include #de... 阅读全文
posted @ 2012-07-07 20:33
wdliming
阅读(116)
评论(0)
推荐(0)
摘要:
#include #include int main(void){ int i; int j; int a[101]; // 为直观表示,各元素与下标对应,0号元素不用 for (i... 阅读全文
posted @ 2012-07-07 16:31
wdliming
阅读(253)
评论(0)
推荐(0)
摘要:
#include #include int main(void){ int i; int j; int a[101]; // 为直观表示,各元素与下标对应,0号元素不用 for (i... 阅读全文
posted @ 2012-07-07 16:31
wdliming
阅读(182)
评论(0)
推荐(0)
摘要:
摘自:http://blog.csdn.net/hackbuteer1/article/details/6686925题目:如果字符串一的所有字符按其在字符串中的顺序出现在另外一个字符串二中,则字符串一称之为字符... 阅读全文
posted @ 2012-07-07 12:07
wdliming
阅读(156)
评论(0)
推荐(0)

浙公网安备 33010602011771号