test
This commit is contained in:
parent
45855f19d7
commit
082ff00be7
11
cv3/Makefile
Normal file
11
cv3/Makefile
Normal 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
BIN
cv3/program
Executable file
Binary file not shown.
23
cv3/program.c
Normal file
23
cv3/program.c
Normal 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 ){
|
||||||
|
|
||||||
|
//}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user