|
|
researchv10 Norman
#include "stdio.h"
main() /* count lines in something */
{
register n, c;
n = 0;
while ((c = getchar()) != EOF)
if (c == '\n')
n++;
printf("%d\n", n);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.