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; }

9th Feb 2021, 3:56 PM
Insaf Saidia
Insaf Saidia - avatar
1 Answer
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).
10th Feb 2021, 7:05 PM
#0009e7 [get]
#0009e7 [get] - avatar