friend istream &operator>>(istream &is,CComplex &com){
char c;
is >> com.r >> c >> com.i >> c;
if (c == '*')
is >> c;
return is;
}
char c;
is >> com.r >> c >> com.i >> c;
if (c == '*')
is >> c;
return is;
}
[此贴子已经被作者于2007-7-28 11:05:41编辑过]
Fight to win or die...