#!/friends/bin/cppscript #include <iostream> #include <complex> int main() { std::complex<double> c(1.0, 2.0); std::complex<long double> d(2.0, 3.0); std::cout << "c = " << c << ", d = " << d << std::endl; c /= d; std::cout << "c = " << c << ", d = " << d << std::endl; c /= 7; std::cout << "c = " << c << ", d = " << d << std::endl; }