Consider a double list class in all its glory: as usual, we begin the header file with the necessary includes:
#ifndef DOUBLE_SL_LIST_H #define DOUBLE_SL_LIST_H #include <iostream.h> #include <string.h> #define DOUBLE double