hi all, i am not-so-new to C++, but then ,yea, a newbie XD
ok, here is the question.
first i have a base class call Item, and it have 3 sub class.
Now i need to make an array total of 100 item, that can store any of that 3 sub class of Item class, so the , question is, how do i need to declare the array? i cannot make it like:
Book book[25];
Stationery stationery[25];
Multimedia multimedia[50];
becuase they can't share the number...