Import
This commit is contained in:
commit
55dd6701c6
10 changed files with 485 additions and 0 deletions
16
code/demo.c
Normal file
16
code/demo.c
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue