// utente.h #ifndef UTENTE_H #define UTENTE_H #include using namespace std; class utente { public: // 2 costruttori utente(); utente(string, string, float); // 4 funzioni di lettura string get_nome() const; string get_cognome() const; int get_matricola() const; float get_stipendio() const; // cos'è un metodo static ?? static int get_ultimaMatricola(); // 4 funzioni di modifica void set_nome(string); void set_cognome(string); void set_stipendio(float); // input e output void leggi(); void stampa(); private: string nome; string cognome; int matricola; float stipendio; static int ultimaMatricola; // cos'è un attributo static ?? }; #endif