Original Post
🔒 Locked
Class pointers?
Advertisement
The only way to do exactly what you want is through a void pointer, yes. However, you can have a base class that a set of classes are derived from, and then use a pointer to the base class type to point to any of the derived types.


Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement