diff --git a/cv3/Makefile b/cv3/Makefile new file mode 100644 index 0000000..f78f641 --- /dev/null +++ b/cv3/Makefile @@ -0,0 +1,11 @@ +# variables +CC=gcc +CFLAGS=-std=c11 -Wall -Werror +LDLIBS=-lm +OUTPUT=$@ + +# targets +%: %.c + $(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT) + + diff --git a/cv3/program b/cv3/program new file mode 100755 index 0000000..eaf89ba Binary files /dev/null and b/cv3/program differ diff --git a/cv3/program.c b/cv3/program.c new file mode 100644 index 0000000..8428e27 --- /dev/null +++ b/cv3/program.c @@ -0,0 +1,23 @@ +#include +#include +#include +#include +#include +#include + +#define velkost 10 + +struct zasobnik { + float price; + int size; +}; + +int main() { + //struct zasobnik databaza[velkost]; + //char input[100]= {0}; + + //while(fgets(input, sizeof(input), stdin) && strcmp( input, "\n" ) != 0 ){ + + //} + +} \ No newline at end of file