compiler problems

has any of you working with dev c++ compiler? i just want to know if you have also experienced that there are some lines that the compiler doesn't execute. it happens to me when i am trying to take a lot of input from user. is this a problem on my codes? or on the compiler itself? it usually happens in times that i am requesting input from user. i am varying my commands from cin>>variable, gets(variable), cin.getline(variable, size). but still it jumps.
You need to add cin.ignore(); in between then. eg:
1
2
3
cin>>x;
cin.ignore();
getline(cin,str);
Topic archived. No new replies allowed.