声明:
friend ostream& operator<<(ostream &out, Complex &c3) ;
定义
template
ostream& operator<<(ostream &out, Complex &c3)
{
out << c3._a << " " << c3._b;
return out;
}
声明:
friend ostream& operator<<(ostream &out, Complex &c3) ;
定义
template
ostream& operator<<(ostream &out, Complex &c3)
{
out << c3._a << " " << c3._b;
return out;
}