Hello, I think there is a bug in the getline() implementation. When it encounters an empty line, it just stops reading instead of returning an empty string. Someone should probably confirm this and file a bug report. Roman Kutlak