Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void deleteBookList(book_list* b1) {
- book* tmp;
- do {
- tmp=b1->first;
- b1->first=b1->first->next;
- deleteBook(tmp);
- } while(b1->first!=b1->last);
- delete(b1->first);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement