> 数学 >
编写复数类CComplex,实现整数与实数,复数与复数之间的加.减.乘等各种基本运算
人气:400 ℃ 时间:2020-03-27 04:14:52
解答
#include #include #include class CComplex{public:friend double real (const CComplex&);friend double imag (const CComplex&);friend CComplex operator + (const CComplex&,const CComplex&);friend CComplex ...
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版