[阅读: 397] 2011-11-14 11:28:45
发信人: fentoyal (fentoyal), 信区: CPlusPlus
标 题: 囧死我了,这种代码居然也可以RUN,碉堡了
发信站: 水木社区 (Mon Nov 14 13:24:28 2011), 站内
无意中发现的...用的VS2010...如下...
#include <iostream>
using namespace std;
class 囧rz{};
struct -_-!#{
-_-!# operator + (囧rz) {
char *这~也可以? = "还真可以";
cout<<这~也可以?<<endl;
return *this;
}
} ╭∩╮(︶︿︶)╭∩╮鄙视你!;
int main()
{
囧rz O(∩_∩)O嘻嘻……;
╭∩╮(︶︿︶)╭∩╮鄙视你!+ O(∩_∩)O嘻嘻……;
cout<<typeid(╭∩╮(︶︿︶)╭∩╮鄙视你!+ O(∩_∩)O嘻嘻……).name();
}
我不行了。。太out了。。
--
oooO ↘┏━┓ ↙ Oooo
( 踩)→┃你┃ ←(死 )
\ ( →┃√┃ ← ) /
\_)↗┗━┛ ↖(_/