This is kinda like "part 2" of my other post. Have also been working on this one for about 3 weeks.
A suggestion was made that I should consider using the map container to accomplish what I want. My textbook doesn't talk about maps but I found some info on the 'net. However, when I use it I get the following error:
/home/cody/Projects/enumeration/src/enumeration.cpp:33: no match for ` std::ostream& << const Date&' operator
Am I not using map correctly? (I'm using my new classes instead of fundamental types).
Prior to using the map, I had vector<T> containers for each class and output them seperately; when I changed it to a map is when the errors occurred.
I'm aware that there's a few better ways to have designed my program, but due to time constraints, I'd rather not rewrite it.