问题描述:
c++给我解释一下这个程序的意思?从complex add(complex c2)
#include
using namespace std;
class complex
{
double real;
double imag;
public:
complex(){}
complex(double r,double i)
{
real=r;
imag=i;
}
void display()
{
cout
#include
using namespace std;
class complex
{
double real;
double imag;
public:
complex(){}
complex(double r,double i)
{
real=r;
imag=i;
}
void display()
{
cout
问题解答:
我来补答展开全文阅读