dimanche 22 février 2015

How to create individual word counter in C++ without maps?


I am looking to create a program that will read in words from a .txt file that individually counts the number of each specific word. However, I would not like to use maps.


EX:


I have a brown dog. I think brown dogs are my favorite.


Output: I-1 have-1 a-1 brown-2 etc.




Aucun commentaire:

Enregistrer un commentaire