codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <cstdlib> #include <iostream> static void inspector() { std::cout << "Shut up!\n"; } static class palin { public: palin() { std::cout << "*smack* WAAAH!\n"; } ~palin() { std::cout << "Flying main of the Yard?!\n"; std::atexit(inspector); } } object; int main() { std::cout << "Hold it! Hold it! Allow me to introduce myself; I'm " << "Inspector main of the Programme Planning Police, Light " << "Entertainment Division, Special Flying Squad!\n"; return 0; }
Private
[
?
]
Run code
Submit