Help reading text file word by word
I am a real beginner is serious need of help!!
I have written a program that opens a text file and uses getline () to write the text to an array. I have assigned line numbers to each line of the file. And now I want to read each word to the line and determine if the word is an identifier or not. I have no idea how to take the first line and read the first word. Can someone give me some clues.
Thanks, but more questions....
Thanks for your help, I don't really know how to go about it, and need some serious help. If you are willing to look at what I have done so far and what I want to do, could you please email me at email@example.com. (I am not looking for someone to do it for me, just someone to point me in the right direction)