This repository has been archived on 2023-10-26. You can view files and clone it, but cannot push or open issues or pull requests.
VSMechatronics/LC21/simple.c
2022-04-07 16:58:01 +01:00

20 lines
350 B
C

#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;
}