#include <iostream> #include "complex.h" int main() { Complex c3, c2(3.14), c1(-1,-2); //c1.re = 10; c1.im = 20; //c2.re = 30; c2.im = 40; c3 = c1 * c2 + ~c1; //std::cout << "c3 = " << c3.re << "+" << c3.im << "i" << std::endl; std::cout << "c3 = " << c3 << std::endl; return 0; }