Use dynamic_cast. The pointer returned would be NULL/0 if the pointer you provided does not point to the specified derived class. Otherwise, it returns a usable pointer to the derived class.
Well, you have been given the technical side by shacktar, meaning you now know how it is used, and you know (because these people told you) that it resolves the problem you have, which is finding out if a pointer points to a specific derived class. So I bet you can conclude stuff from this: The dynamic_cast operator can tell you if the class pointed by a base pointer is of a specific derived class or not. So what is it? An operator that can downcast a pointer safely. Are you saying that you need to know more? Want to know how it works more thoroughly? Then read about RTTI: Run-Time Type Information.
But I must warn you: If you found formal documentation confusing, this will hardly be any different. So maybe you would like to take it slow, get more used to the language and stuff before you dig into the beast's entrails. Just sayin'!