I have this code for a homework problem written in its entirety. I used code from my book as a blue print. I cannot get this program to compile. I get an error code for the line with the "cout<<" command that outputs the functions.
Thank you. It will now compile, but the output it gives me is obviously incorrect. The exercise in the book instructs to create the function that accesses the radius variable. I put it in but never called it. I don't know where to call it. I suspect this is somehow suspect, but I don't know what to do about it.
Yes Daleth have reason you are missing something -circle.getCircumference()-
even with this i think that your code have logic errors
Can u post the complete assignment?