Hacker News new | ask | show | jobs
by djeiasbsbo 2144 days ago
What about:

while((i = getchar()) != EOF) putchar(i);

This type of thing seems to be "encouraged"...