Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- list::~list() {
- node * curr;
- if (size == 0) {
- } else {
- node * curr = headByName;
- while (curr != NULL) {
- delete curr;
- curr = headByName->nextByName;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement