A = A ^ B;
B = A ^ B;
A = A ^ B;
看看跟我想的一样不
想看一下答案是不是跟自已想的一样!
路过学习,偶真是弱爆啦!
很是有趣。。。。。。
你好,想看一下呢
看一看!啊
不知道对不~
吼吼.......................
谢谢····················
hehehhe```````````````````
正在学习,感谢楼主分享。
位运算应该可以完成的
本帖最后由 vipcrack 于 2014-1-21 09:45 编辑
思路很重要。
ggfgfgfdhgfhjjhjhj
感谢楼主无私的奉献{:7_183:}
看看答案。。。。
look!!!!!!!!!!!!!!!!!1
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
int a,b;
a=1;b=2;
__asm
{
push a
push b
pop a
pop b
}
printf("a=%d,b=%d",a,b);
getchar();
return 0;
}
00000000000