alal
This commit is contained in:
parent
0263d6dbcd
commit
697f39dbd6
@ -45,8 +45,8 @@ int main() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
strncpy(list[buf].name, meno_buf, LINE_SIZE);
|
strncpy(list[buf].name, meno_buf, LINE_SIZE);
|
||||||
list[buf].price= price;
|
list[buf].price= cena;
|
||||||
count++;
|
buf++;
|
||||||
}
|
}
|
||||||
qsort(list, buf, sizeof(struct pizza), porovnaj);
|
qsort(list, buf, sizeof(struct pizza), porovnaj);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user