ostream &operator<<( ostream &output, const Yup &num ) { output<<num.number; return output; } Yup &operator+(const Yup &tr1,const Yup &tr2 ) { Yup k(0); k.number=tr1.number+tr2.number; return k; }
operator+
Yup operator+( const Yup &tr1,const Yup &tr2 )
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)