Page 1 of 1

Software source code that solves all your problems.

Posted: Wed Dec 10, 2003 12:29 am
by Rhalin
Dunno if any of you all program C++ much, but I've recently discovered a little tidbit of code that could rid you of all your programming ills. A simple few lines of source capable of doing nearly anything at all!


void main()
{
Question theQuestion;
Answer theAnswer = reinterpret_cast<Answer>(theQuestion);
}


The only thing you need to do is construct a Question class describing the problem, and an Answer class describing how you would like the answer to look!





....please don't hurt me.... *sneaks away*

Posted: Mon Dec 15, 2003 6:30 am
by gray
Heh, heh...

Wow, semantic tackyness. I haven't seen tacky reflexivity jokes in some time. Most of the locals don't get them. Props.