Partially changed file structure to suit VSCode
This commit is contained in:
19
LC21/Simple/simple.c
Normal file
19
LC21/Simple/simple.c
Normal file
@@ -0,0 +1,19 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* Note the new type of main */
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int x;
|
||||
|
||||
/* Print the argument count */
|
||||
printf("Arguments -> %d\n",argc);
|
||||
|
||||
/* And the arguments themselves */
|
||||
for (x=0; x<argc; x++)
|
||||
printf("%s\n",argv[x]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user