This commit is contained in:
Jakub Adamski 2018-12-12 17:50:32 +01:00
parent 2fab3a0816
commit 20d277ffcf
5 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,3 @@
dodaj.tar.gz: dodajz
tar cvzf dodaj.tar.gz ./dodajz

BIN
Zadania_domowe/zajecia9/dodaj Executable file

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,4 @@
dodaj: dodaj.c
gcc -Wall -ansi -o ./../dodaj dodaj.c
clean:
rm ./../dodaj

View File

@ -0,0 +1,10 @@
#include <stdio.h>
#include <stdlib.h>
int main(int argc, char const *argv[]) {
int a, b;
a=atoi(argv[1]);
b=atoi(argv[2]);
printf("%i\n", a+b);
return 0;
}