Create an application program that declares an array of
100 components of type Item.
Is create 100 item object by array or create an object and inside the object has 100 array?
All what you need is the line
Item items[100];
:)
I would give bonus marks for:
1 2 3
|
const size_t itemCount = 100;
Item items[itemCount];
|
Andy
Last edited on