#define front_h #include #include class front { public: front(); bool isPNode(); //done void push(char tp, char trs, int cnt, int prc); //done void pop(float pocet); void inventar(); //done void write(); void stats(); //done int pocetU; ~front(); struct popis { char typ; char transakcia; int pocet; float cena; popis * next; } * p_inv; private: float suma; };