My compiler doesn't like my return function?

Hey all. :)

I'm incredibly new to C++ (well, programming in general) and I'm getting an error message I can't figure out.
It's saying "program 2 item.cpp(38) : error C2059: syntax error : 'return' " when my return function isn't even on line 38, nor is it in error. The weird thing is, other people can compile my program.

Here is a link to my code so far (really short, only 46 lines). If you don't mind, could you tell me where I went wrong?
http://pastebin.com/d3a23da2a

Thanks for any and all help!!!

Cheers,
John
It compiled for me with no errors.
That's what I mentioned above. Other people can compile it, but not me.
I'm not done, so how would I be able to go on and capture an output if my compiler refuses to compile it?
Just interested.. what compiler are you using?
VS 2008
Are you sure you're compiling the right file?
Yes, absolutely.
Topic archived. No new replies allowed.