Skip to content

Instantly share code, notes, and snippets.

@dom96
Created June 5, 2010 14:18
Show Gist options
  • Save dom96/426661 to your computer and use it in GitHub Desktop.
Save dom96/426661 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main()
{
while (1)
{
int c;
while ((c = getchar()) != EOF)
putchar(c);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment