Why cin.get(); and cin.ignore(); are not pausing in some programs

Why cin.get(); and cin.ignore(); are not pausing some of my programs?
Probably because there are residual characters left in the input stream after input (likely newlines). For the cin.get() and cin.ignore() that are not pausing your programs, try calling cin.sync(); immediately before,
Topic archived. No new replies allowed.