yes of course i know the if statment.
there's an ignore function
ignore (.... , .... );
this function 2 ignore some data from the input stream.
u can choose 3 or 4 chars for example 2 ignore them . i'm asking how i can use it. with an example
ignore() is member of the istream class. It will ignore char stored in the input stream buffer. It is commonly used as part of an overall data validation process, but it can be used in other circumstance as well.
I agree, a better description/example of what the OP is trying to do will make it more apparent whether the istream ignore() method is what they want or whether they would be better writing a parsing algorhithm of sort, etc., as iamthwee initially suggested.