typedef dbstl::db_map owner_car_map_t; // (1) owner_car_map_t ocmap; while (has more owner-car pairs to input) { // Accept input data for owner name and car, create car. cin>>owner>>len>>width>>height>>hp>>ncyl>>displ; Engine *pEngine = new Engine(hp, ncyl, displ); Car car(len, width, height, pEngine); ocmap[owner.c_str()] = car; // (2) }