Help with InitShader

Hi, I´m new to OpenGL and am trying to compile and run a code I got from a textbook (Interactive Computer Graphics: A Top-Down Approach with Shader-Based OpenGL (6th Edition)). I use Xcode 3.2.6 and OpenGl 3.0. The code i want to compile is: