Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void dodajElement(Lista*& start, int wartosc)
- {
- Lista* el = start;
- if (el)
- {
- while (el->head->wartosc != wartosc)
- {
- el = el->head;
- }
- Lista elDoUsuniecia = el->head;
- el->head = el->head->head;
- delete elDoUsuniecia;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement