put files in the right place
This commit is contained in:
16
code/C/arguments.c
Normal file
16
code/C/arguments.c
Normal 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
7
code/C/hello.c
Normal file
@@ -0,0 +1,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
puts("hello world.");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user