NON FUNZIONA ANCORA
ho fatto l'overloading anche su tempo in questo modo ...
sul file tempo.cpp
// Stampa su video
ostream& operator<<(ostream &os , tempo &t) {
return os<<t.Ore()<<":"<<t.Minuti()<<":"<<t.Secondi();
}
sul file tempo.h
ostream& operator<<(ostream& , tempo&);

Rispondi quotando