As I understand the extraction operator>> is delimitered by whitespace. Does the extraction operator remove the delimiter from the stream? E.g., say I have the file
6
Foo
Bar
and the code
ifstream fin(filename);
int x;
fin >> x;
does the filestream still contain the newline character that followed the 6 (potentially messing up subsequent getline statements)? Or was this removed in the extraction process?