Created
September 19, 2012 18:33
-
-
Save funrep/3751341 to your computer and use it in GitHub Desktop.
FOOBAR!!!1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* FOOBAR */ | |
#include <stdio.h> | |
main() | |
{ | |
long nc; | |
nc = 0; | |
while (getchar() != EOF) | |
nc = nc + 1; | |
printf("%d\n", nc); | |
} | |
/* im using mksh(basically kornshell) how do i run this program so it reads a file? */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment