How do I use the frame event?

Hi, i’ve been searching all through the forums and looking for tutorials about how to use the frame event. It was simple back when i was using sprite builder and cocos2d because all you needed was to make a method with the frame event’s name. Is it the same like that? If so how would i do it using cocos2d-x and c++?

Maybe you should read through here:

I found that before but i was a little confused while reading it. I guess i’ll read it more thoroughly