How can you implement storage and subsequent writing / reading from a data file of the type:
Small house-> 1 door, 5 windows Big house-> 15 doors, 600 windows
The number of houses is unlimited to enter, the data - only the doors and windows.
Managed C ++. Use structure? But if you create a structure of this type, how then to declare it, if you do not know what the house will be?