put files in the right place

This commit is contained in:
tTh
2024-09-10 14:27:37 +02:00
parent 19e3db36ed
commit 61286736e3
3 changed files with 33 additions and 2 deletions

16
code/C/arguments.c Normal file
View File

@@ -0,0 +1,16 @@
/*
* afficher les arguments.
*/
#include <stdio.h>
int main(int argc, char *argv[])
{
int foo;
for (foo=0; foo<argc; foo++) {
printf(" %3d %s\n", foo, argv[foo]);
}
return 0;
}

7
code/C/hello.c Normal file
View File

@@ -0,0 +1,7 @@
#include <stdio.h>
int main(int argc, char *argv[])
{
puts("hello world.");
return 0;
}