[C-prog-lang-l] Missing info in assignment

DWaloszek at seznam.cz DWaloszek at seznam.cz
Sun Jun 9 16:13:13 CEST 2019


Hello all,




I made a program, and it didn't work with tests - it got stuck after 
starting 1st test.

The problem was that my program didn't care about reading EOF (it was 
reading input lines using fgetc) - the program was set to end only when read
"p" command. But ed behavior is that it ends when encountering EOF. 


This is important information that wasn't written in assignment (and isn't 
intuitive, at least for me).

Maybe it will help some of you with debugging.




Damian Wałoszek
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the c-prog-lang-l mailing list