This commit is contained in:
Ward Wouts 2020-01-16 08:42:45 +01:00
commit 55dd6701c6
10 changed files with 485 additions and 0 deletions

16
code/demo.c Normal file
View file

@ -0,0 +1,16 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc, char * argv[]){
char buf[128];
if(argc == 1){
printf("Usage: %s argument\n", argv[0]);
exit(1);
}
strcpy(buf,argv[1]);
printf("%s", buf);
return 0;
}