Now, I've tried just reading the first 5 lines from the file, and my output from my program is fine. However, on line six there is a 'T' that once my program reads it - everything goes haywire.
I've tried adding another else if statement including the ignore function as well as placing it inside/ouside the while loop but I can't seem to figure out exactly how to implement it properly... Or even use it for that matter.
You probably need to review ifstream and the ">>" operator. Once a stream gets hosed, you need to check to see if it is still valid and handle the situation.