Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. std::ostream & operator<<(std::ostream &os, const Complexe &c) {
  2.     return os << c.getReel() << ' ' << c.getImg();
  3. }
  4.  
  5. Complexe operator-(const Complexe &c1, const Complexe &c2) {
  6.     return Complexe(c1.getReel() - c2.getReel(),
  7.                     c1.getImg() - c2.getImg());
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement