看板 LTJH-94306 關於我們 聯絡資訊
complex complex::operator -(const complex& p)const{ return complex(real - p.real,imag - p.imag); } ostream& operator <<(ostream& out,const complex& pp){ out<<"("<<pp.real<<","<<pp.imag<<"i"<< ")"; return out; } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.160.180.101