Oppure
#ifndef LIBRO_H #define LIBRO_H #include <string> #include <iostream> using namespace std; class Libro{ public: Libro(); Libro(string); void setTitolo(string); string getTitolo() const; bool operator ==(Libro); private: string titolo; } #endif