Hey, I'm kind of new at c++ and I have a question about arrays. Can you make any type of object an array? I tried and I don't know if i did it wrong or if my idea is too farfetched or what...
Example:
Like i said, I really need some help here. Anything is greatly appreciated. Thanks!Code:class Cpart{ /*blah blah blah*\ }; Cpart cow; Cpart IDtoPart[15]; IDtoPart[0] = cow;