Write a program that opens a file with STDIN and then writes each line of the file proceded by the file's name and a colon.
Strictly speaking, Standard IO is a streaming protocol and there is no meta-data associated with it (like name, size or date) so you must have been asked a different question.
In reply to Re: File Handles Chapter(not homework)
by jwkrahn
in thread File Handles Chapter(not homework)
by Parmenides
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |