First page Back Continue Last page Graphics
Linked Class
Not STL!
- class Linked
- {
- struct Node { struct Node * next; char ch;};
- private:
- Node * head;
- Node * last;
- void printNodes(Node *); // recursive utility
- public:
- Linked( );
- void addNode(char ch);
- void PrintList( );
- };