2021-07-31 08:45:42 +11:00
|
|
|
/*
|
|
|
|
* afficher les arguments.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
|
|
{
|
|
|
|
int foo;
|
|
|
|
|
|
|
|
for (foo=0; foo<argc; foo++) {
|
2021-08-03 19:23:57 +11:00
|
|
|
printf(" %3d %s\n", foo, argv[foo]);
|
2021-07-31 08:45:42 +11:00
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|