Node class: template class Node { public: T data; Node* next; Node(T d) { this->data = d; this->next = NULL; } ~Node() { delete next; } };
Private members for list class: Node* head; Node* tail;
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here