3 ms·
The article's code leaves the input stream open, which causes reads to block forever instead of exiting with an end-of-file marker. As the student projects are
by kd5bjo 9y ago
The article's code leaves the input stream open, which causes reads to block forever instead of exiting with an end-of-file marker. As the student projects are for an introductory course, making them handle that particular detail would only be a distraction from the desired learning outcomes.
- tekknolagi 9y agoPrecisely!