February 28th, 2013 03:56 PM
Alright, I'll go back over it next time. I see what you mean, but I haven't really thought that far ahead in my program. I just made the class to really practice it and don't really know what else I...
February 28th, 2013 02:07 PM
Right, so I've had a bit more of free time so I decided to learn some more. I've learnt about basic classes and the switch method which was previously told here. I have a couple of questions: ...
February 25th, 2013 11:02 AM
Alright, thanks for the this. However I'm not quite sure I get what you mean. Do you mean I should do this:
else if (ChoosenShape == 3)//If Circle is choosen
{
double Radius;
...
February 24th, 2013 05:00 PM
Currently I am using. SAMS Teach Yourself C++ in 24 hours. I found it for like £3 so I thought why not. Not sure if it's a good one, but so far it looks decent.
February 24th, 2013 04:40 PM
Thank you both for the feedback. I have now removed the output from the functions and included the 'using namespace std;' into the code. I have used a short int instead of a int as on my computer int...
February 24th, 2013 04:07 PM
Alright, thanks for the reply. Is
int AreaTrianlge(short int Height, short int Base)
{
return((Height*Base)/2);
}
more what you mean?
February 24th, 2013 03:05 PM
Hello all, I recently began to learn C++ from reading a book. I'm up to chapter 4 of 24 and thought I'd like to try out what I've learnt to far. My program works fine, however I'd like some advice on...