Wow what compiler is that? That's annoying that there is no text with it. Post your current code and try out another compiler. At least it gives you the line numbers, look at the settings and see if there's something you can change.
I think you have missunderstood the use of return....
Yes, thank you. I had told him to just eliminate them and I hadn't really explained why. The only reason you're lucking out and getting the functions to run is that whatever follows the return is evaluated before the return actually happens (so I could write
return 2*3-6; and it would return 0).