Computer Science Canada Need help with Functions Assignment from Class. |
Author: | dropglock [ Thu May 01, 2008 1:02 am ] | ||
Post subject: | Need help with Functions Assignment from Class. | ||
Hello everyone I am new here and I am also new to C++. I am stuck here... this is what I have done so far. Can someone tell me what I did wrong(if any) and help me complete this assignment by tomorrow? The PDF of the assignment is in the attachment. If you are going to help me please limit your suggestions to only material under using void functions, Thanks.
|
Author: | jernst [ Thu May 01, 2008 8:52 am ] | ||
Post subject: | Re: Need help with Functions Assignment from Class. | ||
When i tried to compile the code it didnt like
so I commented those out in getName(). Also your while loop in getName() is missing a closing bracket. I haven't read the assignment or what you need to do but that will get it to compile at least... |
Author: | dropglock [ Thu May 01, 2008 12:29 pm ] |
Post subject: | Re: Need help with Functions Assignment from Class. |
Hey thanks.. it compiled now. Damn those small things i missed.. Now it's not outputting the stuff I told it to output too in the getName() function. But there are also no errors... |
Author: | btiffin [ Thu May 01, 2008 3:01 pm ] |
Post subject: | Re: Need help with Functions Assignment from Class. |
Closely examine the while ( ... ) construct in getName. As it is homework, that's all I say for now. Cheers |