Original Post
Hi, ever since i moved on to using fstream rather than fopen, etc. I have gotten a bit confused with how to read files. Assuming i have a file like this, and i want to read the number after the 'T' every time, how would i do this. The file looks like this:
T 1
T 1
T 2
T 4
T 7
T 4
....