Software source code that solves all your problems.
Posted: Wed Dec 10, 2003 12:29 am
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*
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*