This commit is contained in:
Peter Petrek 2021-10-21 20:53:21 +02:00
parent 45855f19d7
commit 082ff00be7
3 changed files with 34 additions and 0 deletions

11
cv3/Makefile Normal file
View File

@ -0,0 +1,11 @@
# variables
CC=gcc
CFLAGS=-std=c11 -Wall -Werror
LDLIBS=-lm
OUTPUT=$@
# targets
%: %.c
$(CC) $(CFLAGS) $@.c $(LDLIBS) -o $(OUTPUT)

BIN
cv3/program Executable file

Binary file not shown.

23
cv3/program.c Normal file
View File

@ -0,0 +1,23 @@
#include <stdio.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#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 ){
//}
}