[ create a new paste ] login | about

Link: http://codepad.org/b47EOEoc    [ raw code | output | fork ]

C++, pasted on Sep 6:
1
2
3
4
5
#include <iostream>
#define Hello new
struct World{World(){std::cout<<"Hello World."<< std::endl;}};

int main(void){ Hello World(); }


Output:
1
Hello World.


Create a new paste based on this one


Comments: