Why my compiler skip a cin???

MY compiler skip a cin. I am using cin.ignore(); and double cin to stop this. Sometimes works, sometimes not.
To answer this question, we really need:

1. to see the relevant code (nicely formatted using code tags)

2. an example (or two) of the kind of input sequence that illustrates the problem

Andy

PS How to use code tags
http://www.cplusplus.com/articles/jEywvCM9/
Last edited on
Topic archived. No new replies allowed.