You have the main() function defined in two files. Copy the contents of Lab3_3_1.cpp into the main.cpp file (delete everything in main.cpp first) and then remove Lab3_3_1.cpp from the Xcode project and you should be good to go.

MacRumors attracts a broad audience
of both consumers and professionals interested in
the latest technologies and products. We also boast an active community focused on
purchasing decisions and technical aspects of the iPhone, iPod, iPad, and Mac platforms.