HELP !
Try www.gamedev.net
And please, do not post posts with the topic "HELP!" as it only annoys people
And please, do not post posts with the topic "HELP!" as it only annoys people
I do real things with imaginary numbers
Fremmed, that is one of the most hilarious programming-oriented jokes I''ve ever seen, I wonder if the original poster got it?
OtakuCODE
OtakuCODE
-----------------------Go for it.OtakuCODE
Mua ha ha... Through that Orthogonal site I found this yummy bit of code... Now all those people complaining about not having object-oriented programming can start to learn from this simple little program...
Hahahahaha.... That''s the most hardcore use of object-oriented programming I''ve seen...
S.
#include <iostream.h>template<int I>class Loop {public: static inline void f () { cout << I << " bottles of beer on the wall," << endl << I << " bottles of beer." << endl << "Take one down, pass it around," << endl << I-1 << " bottles of beer on the wall." << endl; Loop<I-1>::f(); } };class Loop<0> {public: static inline void f () { cout << "Go to the store and buy some more," << endl << "99 bottles of beer on the wall." << endl; }};int main () { Loop<3>::f(); return 0;}
Hahahahaha.... That''s the most hardcore use of object-oriented programming I''ve seen...
S.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement