I believe a number of the K&R exercises like this expect a file to be piped to the stdin.
@Anarchy: spoiler alert, but there's not a whole lotta code there.
I believe a number of the K&R exercises like this expect a file to be piped to the stdin.
@Anarchy: spoiler alert, but there's not a whole lotta code there.
Last edited by Dave_Sinkula; 01-10-2010 at 10:16 AM. Reason: Added link to online solution.
7. It is easier to write an incorrect program than understand a correct one.
40. There are two ways to write error-free programs; only the third one works.*