int btree::obrisi(){
drvo *next=koren;
stack<drvo*> stek;
while (NULL!=next){
stek.push(next);
next=next->levo;
};
while (!stek.empty()){
next=stek.pop();// ******ovde je greska koju ne razumem*****
if (next>0){
stek.push(-next);
next=next->desno;
while (next!=NULL){
stek.push(next);
next=next->levo;
};
}
else{
next=-next; //
delete next;
}
}
Greska je : void value not ignores as it ought be
Sta to znaci?