A good Doubly linked list functionality class with template.
Enjoy people !! template <class T> class node { private: T data; node *prev, *next; public: node(T); void setnext(node<T> *); void setprev(node<T> *); node<T>* getnext( ); node<T>* getprev( ); T showdata( ); };