Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SCHELET1_H_INCLUDED
- #define SCHELET1_H_INCLUDED
- const int NR_CERINTE = 5;
- const int TIP_LISTA_1 = 1;
- const int TIP_LISTA_2 = 2;
- struct nod_lista
- {
- char nume[10];
- char categorie[10];
- int pret;
- int cantitate;
- int stoc;
- struct nod_lista *ant,*urm;
- };
- typedef struct nod_lista Nod;
- Nod* citeste_nod(FILE*, int);
- void leaga_noduri(Nod*, Nod*);
- Nod* sterge_dupa_nume(Nod*, char*);
- Nod* gaseste_dupa_nume(Nod*, char*);
- int calcul_cantitate(int, Nod*, Nod*);
- void citeste_date_intrare(char**);
- Nod* citeste_lista_din_fisier(char*, int);
- void citeste_lista_1(char*);
- void citeste_lista_2(char*);
- void citeste_fisier_3(char*);
- void rezolva_cerinte();
- void rezolva_cerinta_1();
- void rezolva_cerinta_2();
- void rezolva_cerinta_3();
- Nod* rezolva_cerinta_4(Nod*);
- void rezolva_cerinta_5(Nod*, int*);
- void scrie_date_iesire(char*);
- Nod* adauga_in_arbore(Nod*, Nod*);
- void afisare_arbore(FILE*, Nod*);
- void afisare_lista_in_fisier(FILE*, Nod*, int);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement