Hello! I am new to this forum and I like C++ programming. But I have one question:
If cin>> leaves '\n' in the buffer, why this:

cout<<"Write your age: ";
cin>>age;
cout<<"Write whatever: ";
cin>>whatever;
cout<<"Write etc....";
cin>>etc;

works perfectly, without any errors?

Thanks in advance.

Regards.