This chapter will be aimed at two types of developers: the original Cocos2d developer who is scared of C++ but won't admit it to his friends and the C++ coder who never even heard of Cocos2d and finds Objective-C funny looking.
I'll go over the main syntax differences Objective-C developers should pay attention to and the few code style changes involved in developing with Cocos2d-x that C++ developers should be aware of. But first, a quick introduction to Cocos2d-x and what it is all about.
You will learn the following topics:
What Cocos2d-x is and what it can do for you
How to create classes in C++
How to memory manage your objects in Cocos2d-x and C++
What you get out of Ref