int main() { House* myHouse = new House(); ifstream RoomInfo; RoomInfo.open("roomInfo.txt"); string roomline; while (getline(RoomInfo, roomline)) { myHouse->addRoom(roomline); } myHouse->printRoomNames(); cout << "the area of my house is " << myHouse->calculateArea() << " square feet" << endl; cin.get(); return 0; }