Duplicate?

I think this task is a duplicate of File I/O. --IanOsgood

This can be used for stdin, though. It just so happens that it can be extended to files. --Mwn3d 10:11, 19 February 2008 (MST)
Return to "Input loop" page.