celsius operator- (const celsius &druga) { celsius tmp; tmp.wartosc = this->wartosc - druga.wartosc; return tmp; } ostream & operator<< (ostream & wyjscie) { wyjscie << "Temperatura: " << this->wartosc << endl; return wyjscie; } istream & operator >> (istream &wejscie) { wejscie >> this->wartosc; return wejscie; } celsius operator= (const celsius &druga) { celsius tmp; this->wartosc = druga.wartosc; tmp.wartosc = this->wartosc; return tmp; }