pretty basic problem but my C++ is pretty far back
here's my problem
I have to read a text file and parse all the different field
ex:
001 R0S11 182983 2009/02/22 45607
002 R0S12 182983 2009/02/23 45707
003 R0S13 182983 2009/02/16 45807
004 R0S14 182983 2009/02/04 45907
....
once I've read the file I need to parse all the fields within it in order to validate each field based on certain criteria
I figure that once I read the file I would dump all the data in its respective variable
what is the bet way to read the data and extract each field from each line
thanks for any help
Pabs
You can use iostream library.