I am new to Xcode and Cocos2d. I have some C++ experience as it was my original major in college. However, I am a fast learner. I have looked at a few website tutorials on building specific game types such as the Jetpack Joyride tutorial on Ray Wenderlich's website. I took a peek in a few books such as "Learning Cocos2d," "Learn Cocos2d 2" and "Creating Games with Cocos2d for iPhone 2." The issue with all of these is they instruct to put a particular code into certain files. I do so and I get errors. I look at their downloadable, completed version of the project and that particular code is nowhere to be found. I also wonder if these books are outdated as they all came out in 2012 and I cannot find a newer book.
It would be greatly appreciated if anyone can direct me to a better book or website to learn from. Particularly in creating side scrolling games. I would really like to learn to use cocos2d and xcode. Thanks in advance.