First time posting, this seems like a wonderful community.
Okay, so I'm new to C++ (mostly worked with java) and I'm trying to write a program that will read in a plain text file (a short paragraph) and take and place each word in the text file and place it into a data structure (im thinking of using a map or multimap).
My big concern at this point is what function of ifstream should I use to read in each separate word. I'm guessing using whitespace and periods as delimiters as the parameters, but how do I use both delimiters at the same time. I'm not too concerned about storing the data at this point, as I can't even make any headway on that until I can figure out a proper way to read in each word properly.
Any help is greatly appreciated :)