1

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: program

And the error I get when running it: error

4

1 回答 1

0

您似乎没有在包含 function 的源文件中进行编译和链接GetInteger()

编辑问题main()是由于它在您的genlib.cpp.

于 2012-07-11T09:51:47.197 回答