Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef NODO_H_INCLUDED
- #define NODO_H_INCLUDED
- class nodo
- {
- int inizio;
- int fine;
- public:
- nodo(int,int);
- int getinizio();
- int getfine();
- ~nodo(){;}
- };
- nodo::nodo(int i,int f)
- {
- this->inizio=i;
- this->fine=f;
- }
- int nodo::getinizio()
- {
- return this->inizio;
- }
- int nodo::getfine()
- {
- return this->fine;
- }
- #endif // NODO_H_INCLUDED
Add Comment
Please, Sign In to add comment