Re:Why I like Java
by cbsmith on Tuesday March 25, 2014 @09:55AM
(#7465825)
You need a test for the exit condition (read returning back -1) and you need to flush stdout.
[ Parent
| on HN ]
Right, thanks. Either way, it's not rocket surgery.