Пример #1
0
Complex operator+(double d, const Complex & c1)
{
	return Complex(c1.getReal() + d, c1.getImagionary());
}
Пример #2
0
Complex operator+(const Complex & c1, const Complex & c2)
{
	return Complex(c1.getReal() + c2.getReal(), c1.getImagionary() + c2.getImagionary());
}