Oct 1, 2013 at 7:50pm UTC
On line 165: change the fist occurrence of "int" to void" and add an ampersand before "choice2". (Why is it called choice2 ?)
Delete line 172.
Otherwise line 24 does nothing at all.
Oct 1, 2013 at 8:05pm UTC
@eye n rique: I'm not sure how that's relevant to this topic?
Oct 1, 2013 at 8:06pm UTC
Thank you!
LB: I thought the param variables had to have unique names?
eyenrique: Teacher still hasn't handed back... he's not the cream of the crop as far as teachers go lol.
Last edited on Oct 1, 2013 at 8:07pm UTC
Oct 1, 2013 at 8:12pm UTC
Nevermind, got it!
Thanks again!
Last edited on Oct 1, 2013 at 8:19pm UTC
Oct 1, 2013 at 8:32pm UTC
dp13 wrote:I thought the param variables had to have unique names?
Unique with respect to what? Every variable ever in your entire program? No, they only have to be unique amongst other parameters in the same function.
Last edited on Oct 1, 2013 at 8:32pm UTC
Oct 1, 2013 at 9:08pm UTC
@LB its eyenrique and
How relevant is to this topic?
Its the same exercise, ....
@dp13
I thought you understood the exercise,
maybe i am not good enough for teaching Dx
Oct 2, 2013 at 1:10am UTC
eyenrique you've helped me a ton, thanks! I wasn't talking about you, just my prof.
Thank you for the info LB & eyenrique, that's why I love this forum!
Last edited on Oct 2, 2013 at 1:10am UTC