I'm studying C++ from an online course (Stanford CS106B via iTunes U) and I'm trying to work with code that was designed for Xcode 3 in version 4.3.2
I suspect there are fundamental changes in 4.3.2, therefore fundamental incompatibilities with this old code.
The following screen shots illustrate the C++ code I'm trying to compile and the errors Xcode 4.3.2 is reporting.
There's probably a simple answer to this problem, any help would be greatly appreciated.
If someone could explain to me what's going wrong in newb terms that would be awesome!
My simple program:
And the error I get when running it: