User profile: cppstudent

User info
User name:cppstudent
History
Joined:
Number of posts:7
Latest posts:

Copys of different pointer types to a single object
Yes thank you. This will be a quick fix but in a long run, class A or B may have new functions being...

Copys of different pointer types to a single object
Hi, I wanted to have an array of base class pointers to access all the derived classes' member funct...

static function within static inner class
Code 1 [code] class Car { public: Car() { plate = "TestPlate"; }; void RegPlate() { p...

How you change an object from base class to derived class?
Thank you all of you. I also thought of using static_cast but then I realise the pointer was a bas...

How you change an object from base class to derived class?
bump! Hope someone can help! This is stalling me