0
Invalid conversion int to liste in c++
//supression par poition liste suppos(liste l, int p){ if(p<0)cout<<"position erronee"; else{liste l1=recherchepos(l,p); if(l1!=NULL) l=suppvaleur(l,l1->x);} return l; }
1 Réponse
0
Hmmm...
I have not seen <liste> type, "recherchepos", "suppvaleur" function and "l=" operator in C++ before...
Maybe, "l=" is supposed to be "!=", and others are user-defined class and functions you did not show us (so there is 90% we cannot spot the error).