Complex numbers using overload constructor and private
parameters in C++
I don't know why my code does not compile......
please DO NOT CHANGE THE MAIN....
complexDriver.cpp
#include <iostream>
#include "complex.h"
using namespace std;
int main( ) {
// Ex) complex(4.0, 3.0) means 4.0+3.0i.
complex c1, c2( 1.2, 4.9 ), c3( 2.2, 1.0 ), c4( -7.0, 9.6 ),
c5(8.1, -4.3),
c6(0.0, -7.1), c7(6.4), c8(0.0, 1.0), c9(0.0, 4.1), c10(0.0, -1.0),
c11;
cout << "c1 = " << c1 << endl;
cout...