alal
This commit is contained in:
parent
406545de42
commit
87956030eb
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
struct pizza{
|
struct pizza{
|
||||||
char name[LINE_SIZE];
|
char name[LINE_SIZE];
|
||||||
float price
|
float price;
|
||||||
};
|
};
|
||||||
|
|
||||||
int porovnaj(const void *a,const void *b){
|
int porovnaj(const void *a,const void *b){
|
||||||
@ -25,11 +25,11 @@ int porovnaj(const void *a,const void *b){
|
|||||||
}
|
}
|
||||||
int main() {
|
int main() {
|
||||||
struct pizza list[LIST_SIZE];
|
struct pizza list[LIST_SIZE];
|
||||||
int = buf;
|
int buf = 0;
|
||||||
|
|
||||||
while(buf < LIST_SIZE){
|
while(buf < LIST_SIZE){
|
||||||
char meno_buf[LINE_SIZE]
|
char meno_buf[LINE_SIZE];
|
||||||
char cena_buf[LINE_SIZE]
|
char cena_buf[LINE_SIZE];
|
||||||
|
|
||||||
if(!fgets(name_buf, LINESIZE, stdin)){
|
if(!fgets(name_buf, LINESIZE, stdin)){
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user