The problem statement suggests that the program should use an array / vector / heap pointers to objects (structures). It also suggest using some hash like method, such as std::unordered_map, where...