Advertisement
Guest User

Untitled

a guest
May 24th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #ifndef CELLULE_H
  2. #define CELLULE_H
  3.  
  4. using namespace std;
  5.  
  6. template <class T> class Cellule
  7. {
  8.     private:
  9.         T data;
  10.         Cellule* next;
  11.     public:
  12.         Cellule(T data);
  13.         T getData();
  14.         void setData(T data);
  15.         Cellule* getNext();
  16.         void setNext(Cellule* next);
  17. };
  18.  
  19. #include "Cellule.cpp"
  20.  
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement