Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef COMPLEXX_H
- #define COMPLEXX_H
- #include <iostream>
- namespace COMPLEX
- {
- class Complex
- {
- private:
- int A;
- int Bi;
- public:
- Complex();
- Complex(double value);
- Complex(double v1, double v2);
- friend std::istream& operator >>(std::istream& in, Complex& c);
- friend std::ostream& operator <<(std::ostream& out, Complex& c);
- };
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement