Quote (carteblanche @ Feb 20 2013 09:39pm)
return ;
thats the last line of your GuessingGame function. as you can see, it's not returning anything, but you declared it to return an int
This.
After typing 'return' the compiler is saying "return what?!"..
It's your job to say what to return:
Code
return x // where x is some integer -> lets say x is 0.. so return 0 would be sufficient for an entry level program like this.
This post was edited by Twisted454 on Feb 21 2013 01:02am