Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef CELLULE_H
- using namespace std;
- template <class T> Cellule<T>::Cellule(T data)
- {
- this->data=data;
- this->next=NULL;
- }
- template <class T> T Cellule<T>::getData()
- {
- return data;
- }
- template <class T> void Cellule<T>::setData(T data)
- {
- this->data=data;
- }
- template <class T> Cellule<T>* Cellule<T>::getNext()
- {
- return next;
- }
- template <class T> void Cellule<T>::setNext(Cellule* next)
- {
- this->next=next;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement