All pastes #775106 Raw Edit

lista.h

public cpp v1 · immutable
·published 2007-11-15 14:14 UTC
rendered paste body
#ifndef LISTA_H#define LISTA_H#include "sikidomok.h"class Linked_List{    public:        void add(SikidomBase idom);        Linked_List() {}        ~Linked_List();    private:        struct Node        {            SikidomBase sikidom;            Node *next;            Node(SikidomBase idom=NULL){ next=NULL; sikidom=idom; }            ~Node() { delete sikidom; }        };        Node *First;};#endif