I have a file that I'm reading in.. i.e. :
when I read it in I need to be able to look at th file and check for a particular thisg: example: I need to be able to check for the string "\testsize: " and then bring in the (integer) sometest and store it in some variable.
I know how to read in a file:
//I am not sure how to check for the string "\testsize: " and
// read in the number that it is assigned...
infile >> sometest;
any help will be greatly appreciated.... thanks