That code is my full code thus far. I'm new to C++ and I'm following along in the book "Beginning C++ Through Game Programming" by Michael Dawson. I'm currently starting chapter 4 on vectors but there is a problem compiling for my IDE (MS visual c++ 2010 express). The following code contains the problem according to the IDE:
That code shouldn't generate any errors, though you didn't show your full code. Can we see everything, including the #include s? There shouldn't be a semi-colon at the end of an #include directive (or any other pre-processor directive for that matter, unless you place it at the end of a #define for a specific purpose but that's not recommended).