I was discussing with a friend about making a calculator for my pain-in-the-ass math courses, and he recommended that: 1. If I was going to make a calculator, I should make a damn good one; and 2. I should use C++.
Being as bored as I am, I agreed. He quickly recommended that I should use void methods. Then he had to run off.
And left me completely befuddled on implementing C++ voids.
So should it be
Code:
#include <iostream>
void ????
{
????
};
int main()
{
//program stuff
}
Or am I way off? I have no clue; I tried googling, and come upon several fascinating sites comparing C to C++, but other than that I came empty handed. And yes, I have read the manual.