Listing 11 Uses the complex number data type

#include <iostream.h>
#include "complex.h"

main()
{
   complex c1(1,2), c2(3,4);

   cout << c1 << "+" << c2 <<" == "<< c1+c2 << endl;
   return 0;
}

// Output:
(1,2) + (3,4) == (4,6)

/* End of File */