Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Model functie cautare intr-o lista simpla inlanuita
- void Caut(Lista *head, string nume){
- Lista *q = head;
- while(q && q->nume != nume) q= q->urm;
- if(q && q->nume == nume) q->afiseaza;
- else cout <<"Nu s-a gasit elementul\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment