move remaining stuff from testcode/lib/ one level up to testcode/
This commit is contained in:
19
testcode/arg-test.c
Normal file
19
testcode/arg-test.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main (int argc, char* argv[])
|
||||
{
|
||||
int I;
|
||||
|
||||
printf ("argc: %d\n", argc);
|
||||
for (I = 0; I < argc; ++I) {
|
||||
printf ("argv[%2d]: \"%s\"\n", I, argv[I]);
|
||||
}
|
||||
|
||||
printf ("\n");
|
||||
getchar ();
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user