Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Nodo{
- private:
- int NodoID;
- char Colore[20];
- public:
- Nodo();
- Nodo(int);
- int GetID();
- void SetID(int);
- void SetColore(char*);
- char *GetColore();
- };
- char* Nodo :: GetColore(){
- return Colore;
- }
- void Nodo :: SetColore(char *colore){
- strcpy(Colore, colore);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement