Name: Anonymous 2010-01-16 9:42
#include <stdio.h>
/* count characters in input; 1st version */
main()
{
long nc;
nc = 0;
while (getchar() != EOF)
++nc;
printf("%ld\n", nc);
}
what the shit is this supposed to print anything?
sorry, I am a complete beginner
/* count characters in input; 1st version */
main()
{
long nc;
nc = 0;
while (getchar() != EOF)
++nc;
printf("%ld\n", nc);
}
what the shit is this supposed to print anything?
sorry, I am a complete beginner