I'm just starting to learn C++ and I need some help. I need to be able to read in a text file and pull out numbers from the file (like a news story, etc). I will need to be able to do other checks with the numbers as well, I'm just looking for a starting point right now. Just want to make sure that I have an idea of how to proceed.
I will need to open the file
Then read the file line by line with getLine
But I am not sure how to find just the digits and extract them...
I know this is probably a very simple question, but thank you for any help!