Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool QList::deque(Item &item)
- {
- if (isEmpty())
- return false;
- Node *n = first;
- item = n->data;
- first = first->next;
- if (isEmpty())
- last = 0; Jag får " this declaration have no storage or class specifier"
- delete n; // expected a declaration
- return true; // expected a declaration
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement