nothing to say, t…
来源:互联网 发布:mac怎么设置自动关机 编辑:程序博客网 时间:2024/06/06 13:26
// shit ,sina blog always trims my code ... a = a^b; b = b^a; a = a^b; T temp; temp = a; a = b; b = temp; MY_STACK stack; stack.push(a); stack.push(b); a = stack.pop(); b = stack.pop(); T temp; temp = *p_a; *p_a = *p_b; p_b = temp;
1.
void MY_SWAP(int & a, int &b)
{
}
2.
#define MY_SWAP(a,b,T) do{ T temp =a; a =b;b = Temp; }while(0)
3.
template <class T>
void MY_SWAP(T&a,T&b)
{
}
4.
void MY_STUPID_SWAP(T&a,T&b)
{
}
5.template<class T>
void MY_SWAP(T* p_a,T* p_b)
{
}
0 0
- nothing to say, t…
- Failed to write t…
- Can’t connect to local MySQL ser…
- 2003 - Can't connect to My…
- resource is out of sync with t…
- 10055 - Hashmat t…
- nothing is impossible
- How to get a good idea to perfor…
- How to pass a hash to a subrouti…
- How to move LOB Data to Another …
- ADB server didn't ACK * failed t…
- Locally vs. Dictionary Managed T…
- An interesting website related t…
- unable to create …
- OracleserviceSID to write to net…
- how to do with a slow oracle dat…
- Make sure to have the zlib libs …
- Make sure to have the zlib libs …
- 摄像头相关API
- MySQL错误代码中文说明
- Error:non-aggregates cannot…
- 编译zlib
- reset VC2008 environment
- nothing to say, t…
- visual studio 2008: fstream bug?
- javascript语言搭建基于人脸检测的…
- eclispe 跳转问题 找不到头文件
- IEEE 2013部分图像视频领域国…
- FW:行人检测简述
- 远程计算机需要网络级别身份验证,你的系统不支持
- FW:关于TLD算法的论文
- 转载一些cv相关的博文