For example, if write those statements in code:
char a[10];
char b[10];
cin>>a;
cin>>b;
cin>>b;
doesn't see Enter key that was pressed after typing, for example, Hello
but when instead cin>>b;
write cin.get(b, 10);
then cin.get(b, 10);
reads Enter key from previous statement.