// Classe lista: listc.h
#ifndef LISTC_H
#define LISTC_H
class list {
list *next; // private
static list *base; // Base della lista, statica
public :
list () {next = base; base = this;}; // Costruttore Inline - aggiunge alla lista
static list *Base () { return base; }; // Restituisce 'base' che e' privata
list *Next () { return next; }; // Inline - ritorna il prossimo
};
#endif