I have a pointer pointed to a class................
I have a void* pointer pointed to a class.
How can I know, what the class is?
the code:
class a;
class b;
void* p
p=&a
How can I know,the pointer "p" is point to a class b or a class a??
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement