Search:

Type: Posts; User: jrahhali

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    735

    You're right. the user shouldn't know that the...

    You're right. the user shouldn't know that the linkedlist is implemented with Node objects. All they need to know is that it is a linked list of type <T>, and who cared how LinkedList manages that....
  2. Replies
    5
    Views
    735

    The LinkedList will be responsible for traversing...

    The LinkedList will be responsible for traversing the Node objects. The Node class is simply:



    template <typename T>
    class Node
    {
    private:
    T data;
    Node* next;
  3. Replies
    5
    Views
    735

    class template question

    background: I have a linked list assignment to complete.

    I have a node class:



    template <typename T>
    class Node
    {
    ...
Results 1 to 3 of 3