Hi
I write some programm which reading data from stdin until EOF
and i programm doesn't recognize CTRL+Z i have to press it 3 or 4 times and then while is terminated. Can you tell me please where is mistake and why it is happen?Code:while (scanf("%s",slowo)!=EOF) { do something }