Hey,
I am creating a simple win32 consol program using vc++.net.
My job is to read in data from two tab-delimeted files, one is a text file and the other has no extension so I am assuming is binary?
I would like to know how to find out when I read in the tab delimerter, so I know when a field is finished.
I can read id data using:
myfile >> field1 >> field 2 >> feild3; ...etc.
However this reads in each word and counts spaces as a new word.
How can I tell when I have reached the tab character, so I know that the data before it is a field?
Thanks for your time
I am creating a simple win32 consol program using vc++.net.
My job is to read in data from two tab-delimeted files, one is a text file and the other has no extension so I am assuming is binary?
I would like to know how to find out when I read in the tab delimerter, so I know when a field is finished.
I can read id data using:
myfile >> field1 >> field 2 >> feild3; ...etc.
However this reads in each word and counts spaces as a new word.
How can I tell when I have reached the tab character, so I know that the data before it is a field?
Thanks for your time