Have you written any code? Or are you just trying to understand how to use cocos2d-x in general?
If you’ve written some code, then post some of it with the issue you’re having and maybe we can help.
If you’re trying to understand how to use cocos2d-x in general, I wouldn’t start with the API. I would start with some tutorials. For some tutorials, look here and video tutorials here