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
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?