Reading in a file and counting

Pages: 12
OK thank you. My counts seem to be off. Im not sure what is missing. Can the algorithm be used with a balanced tree structure as well?
As long as the interface is a map, how the map is stored in memory makes no difference to functionality. Many maps are backed by a hash list or tree. Not sure about the one in stl...
Ok so I looked into the the text file and the insert function seems to be skipping over words.
"Insert function?" So far we have only been counting words. That is, we have only been reading from a file.
Topic archived. No new replies allowed.
Pages: 12