This commit is contained in:
Radovan Kofira 2020-10-05 00:21:08 +02:00
parent ea524c2757
commit 47839ea170
2 changed files with 3 additions and 2 deletions

View File

@ -33,7 +33,7 @@ int main(){
//printf("%s",jedalny_listok[counter].name);
//printf("%s",item.name);
counter += 1;
printf("%d\n",counter);
//printf("%d\n",counter);
if (counter>=POCET_JEDAL)
{
break;
@ -83,7 +83,7 @@ int read_pizza(struct pizza* item){
memset(line,0,LINE_SIZE);
char* r = fgets(line,LINE_SIZE,stdin);
trim(line);
printf("%s\n",line);
//printf("%s\n",line);
if(r != NULL && line[1] != 0){
char line2[LINE_SIZE];
memset(line2,0,LINE_SIZE);
@ -96,6 +96,7 @@ int read_pizza(struct pizza* item){
strcpy(item->name, line);
return 1;
}
return 0;
}
char hacker_script(char c){

Binary file not shown.