using subclass functions
Hello
is it possible to access a subclass function if i use an array of pointers with the same type as the base class?
Example
1 2 3 4 5 6
|
BaseClass**b = new BaseClass*[10];
b[0] = new SubClass();
b[0]->//Use a subclass public member function
|
Topic archived. No new replies allowed.