constructor problems

i have some homework and need some help with it so i thank you in advanced.
i have two structs apartment and building. apartments are identified with floor and id, constructor for apartment is apartment(char id, int floor, double size) and i need constructor for building where building contains up to 1000 apartments and i don't have any idea about it constructor for building is building(apartment S1)...
I'm not sure what your question is exactley but why not create an array or vector of apartments in building itself?
Topic archived. No new replies allowed.