摘要: 类内操作符重载#include<iostream> using namespace std; class complex { //复数类 public: //外部接口 complex(double r = 0.0, double i = 0.0) { real = r; imag = i; } // 阅读全文
posted @ 2019-12-26 22:26 柠檬味呀 阅读(168) 评论(0) 推荐(0) 编辑