include lab code

This commit is contained in:
Florian Hoss 2022-04-25 09:07:50 +02:00
parent aa09157216
commit 7a13228c69
5 changed files with 146 additions and 0 deletions

View file

@ -0,0 +1,13 @@
#include <stdio.h>
#include <string.h>
int doSomething(char* input){
char buf[512];
strcpy(buf, input);
printf("Copied the following input to the buffer:\n %s\n", buf);
}
int main(int argc, char *argv[]){
doSomething(argv[1]);
return 0;
}