I have seen people using various commands like cin.ignore(), cin.sync(), cin.read(), cin.get(), cin (or i think cout).flush().
Although I do have a fair idea of what some of these commands do, I'm not sure if I understand them fully and more importantly when to use which.
I think it is more to do with my lack of understanding of stream operations.
Can someone please help me understand these commands or point me to a resource that explains these in simple words.
thanks, actually I am aware of the reference section here and I did manage to get that 'fair' idea from this reference section only. Unfortunately it is a bit too technical for me.