i want 2 use the ignore function 2 ignore some of my inputs data, but i dont know how
i'm using C++
ghadahelal 0 Light Poster
Recommended Answers
Jump to PostYou've heard of if / else statements haven't you?
Try using them:
if (good) then //do stuff endif elseif (bad) then //ignore and carry on endif
Jump to Postignore() 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 …
All 8 Replies

iamthwee
ghadahelal 0 Light Poster

iamthwee
Lerner 582 Nearly a Posting Maven
dwks 149 Posting Whiz in Training
ghadahelal 0 Light Poster
ghadahelal 0 Light Poster
Bench 212 Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.