first commit!

This commit is contained in:
2025-02-06 12:54:34 +02:00
commit 37f9a3d138
24 changed files with 693 additions and 0 deletions

15
wc.c Normal file
View File

@ -0,0 +1,15 @@
#include <stdio.h>
int main() {
/*
long num_chars = 0;
while (getchar() != EOF)
++num_chars;
* or..
*/
long num_chars;
for (num_chars = 0; getchar() != EOF; ++num_chars);
printf("%ld\n", num_chars);
}