12-03-2009, 02:06 PM
(12-03-2009, 12:57 PM)Master of The Universe Wrote: I just don't get why you use while loop 2 times.You're not going too far for me ,like you mean loop the menu everytime user clicks an option? instead of exiting?
But for a second project nicely done.
I still would write a function to output the menu selection and ask for users selection and run it with the while loop until "option != 4"
then another function for the switch, but I guess I'm already getting too far for you....
So nice work!
EDIT:
Code:cout << ":::Calculator v1::: \n";
is same as
Code:cout << ":::Calculator v1::: " << endl;
I prefer the second
I prefer
Code:
cout << ":::Calculator v1::: \n";