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/Lectures/LC21/Simple/simple.c

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