I guess I might not be very clear about what I want to do because I don't really know how to explain it. basically I want to be able to make objects without knowing they are going to be created before the program is compiled. I don't know if its called dynamic allocation, but that would sound correct. Below is an example of what I want it to look like/do.
// 1. Read the first line
// 2. Send that to a string
// 3. Declare an object of structure BUILDING with the strings name. Sort of like this (however, not creating an object called "string_content". I want the object to have the name that the string contained.
BUILDING string_content; //assume that string_content contained "house1"
//4. Then access that objects members like so: