"Istvan Albert" <ialbert at mailblocks.com> wrote in message news:A5GdnQGapZBQjhzcRVn-og at giganews.com... > In general you can't flush the standard input, > it is one of those undefined behaviors in C. > > To read the input until an end-of-file is reached > use read() instead of readline(). > Now I try. Thanks. Bye