i have written a function but
compiler gives this message no `void ptisi::Oura(epibaths)' member function declared in class `ptisi.' Declaration seems ok to me i cant find where is the problem .
here is the code
Code:class ptisi{ public: friend class Chain<ptisi>; void show(); void initialize(); bool check(ptisi x); bool check_2(); void update(); void Oura(epibaths n); private:short kwdikos; string afethria; string proorismos; float wra_anax; float wra_af; float ticket_price; string typos; int theseis; int krat_theseis; Chain<int> oura; };Code:void ptisi::Oura(epibaths n) {if(oura.IsEmpty()) {oura.Insert(0,n.ar_diav);} else { oura.Insert(oura.Length(),n.ar_diav);} }




Reply With Quote