當發現別人跟你的認知不同的時候
有可能代表著下面幾件事情:
1、該去看看 C Spec
2、該去看看編譯器的實作
3、該去看看別人的技巧
4、該去看看醫生,也許腦子燒了
光是 swap (a,b)
有人用一個暫存變數作
tmp = a; a = b; b = tmp;
有人用一個連續的 xor 完成
a^=b; b^=a; a^=b;
完全不同的 cost 跟 feel ....
2007年11月24日 星期六
2007年11月21日 星期三
Visual Studio 2008 Released
Visual Studio 2008 is RTM (Released to manufacturing) at 2007.11.19
The same with ".Net Framework 3.5"
It is necessary to learn then know how it sucks ....
The same with ".Net Framework 3.5"
It is necessary to learn then know how it sucks ....
訂閱:
文章 (Atom)