Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~339 People Reached
Favorite Forums
Member Avatar for gilly231

Hi, i wish to store a mix of derived classes in one array. so i make the array from the base class i.e. Base* array[11]; and fill it with my classes. The base class has a method. Base::print(); this is overridden in all the child classes and used as follows, …

Member Avatar for gilly231
0
147
Member Avatar for gilly231

I need help with an assignment for my programming course. I have three classes A,B,C. all stored in one array. (These are not my real classes there are just a guide) [CODE=c] Class A{ char name; public: virtual print(){ printf("%s",name); } } Class B : public A{ char middleName; public: …

Member Avatar for gilly231
0
192