homework0 converted to xcode 4.5.1 project, tested under OSX Lion
Added this code http://stackoverflow.com/questions/516200/relative-paths-not-working-in-xcode-c Current path is output in console so you can see where to pick up your screenshot from.