Advertisement
bazmikel

MP (examples of all usefull stuff)

Nov 8th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. // zaprzyjaznienie operatora << w class
  2. friend ostream & operator << (ostream &, const adres &); // zaprzyjazniony operator
  3. };
  4. ostream & operator << (ostream & out, const adres & r){
  5.   return out << r.m << " " << r.u << " " << r.kp << " " << r.nr << endl;
  6. }
  7. -------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement