⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 complex.h

📁 面向软件工程的Visual C++网络程序开发
💻 H
字号:
#ifndef COMPLEX_H
#define COMPLEX_H

class AFX_EXT_CLASS CComplex {
public:
	double re;
	double im;
public:

	CComplex(double _re = 0.0, double _im = 0.0){
		re = _re;
		im = _im;
	}
	CComplex operator=(const CComplex& a);
	CComplex operator+(const CComplex& a);
	CComplex operator-(const CComplex& a);
	CComplex operator*(const CComplex& a);
	CComplex operator/(double dNum);
	~CComplex();
	double Mod();
};


#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -