Advertisement
Guest User

Untitled

a guest
Feb 26th, 2021
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #ifndef COMPLEXX_H
  2. #define COMPLEXX_H
  3.  
  4. #include <iostream>
  5.  
  6. namespace COMPLEX
  7. {
  8.  
  9. class Complex
  10. {
  11. private:
  12.  
  13. int A;
  14. int Bi;
  15.  
  16. public:
  17.  
  18. Complex();
  19. Complex(double value);
  20. Complex(double v1, double v2);
  21.  
  22. friend std::istream& operator >>(std::istream& in, Complex& c);
  23. friend std::ostream& operator <<(std::ostream& out, Complex& c);
  24. };
  25.  
  26. }
  27.  
  28. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement