|
|
1.1 ! root 1: #include "stdio.h" ! 2: ! 3: main() /* count lines in something */ ! 4: { ! 5: register n, c; ! 6: ! 7: n = 0; ! 8: while ((c = getchar()) != EOF) ! 9: if (c == '\n') ! 10: n++; ! 11: printf("%d\n", n); ! 12: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.