This commit is contained in:
Radovan Kofira 2020-10-09 12:22:09 +02:00
parent f1c2d4bd6c
commit 7d85490b15
2 changed files with 3 additions and 3 deletions

View File

@ -21,11 +21,11 @@ int main(){
int counter=0;
char line[LINE_SIZE];
memset(line,0,LINE_SIZE);
printf("Zadaj hladanu surovinu:\n");
//printf("Zadaj hladanu surovinu:\n");
char* r = fgets(line,LINE_SIZE,stdin);
trim(line);
if(r != NULL && line[1] != 0){
printf("Zadaj jedalny listok:\n");
//printf("Zadaj jedalny listok:\n");
struct pizza item;
while(read_pizza(&item)){
strcpy(jedalny_listok[counter].name, item.name);
@ -49,7 +49,7 @@ int main(){
}
}
//printf("%s",line);
printf("Nacitanych %d poloziek.\n",counter);
//printf("Nacitanych %d poloziek.\n",counter);
}
void trim(char* str){
int i=0;

BIN
cv2/program.exe Normal file

Binary file not shown.