Last quarter our last assignment was to create two programs that gernerate silly sentences from words contained in a file.

I was able to create the program with a map, but have no idea how to do it with a hash map. Since it was the end of the quarter, the instructor didn't go over how to do this.

I am using Microsoft Visual Studio 2005 (the school uses Linux, of course...so even the example code is useless to me here).

I am attaching the project files and am wondering if someone would be kind enough to explain how to do this with a hash map.

11 Years
Discussion Span
Last Post by iamthwee
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.