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

📄 complex.h

📁 矩阵模板类
💻 H
字号:
#pragma once
using namespace std;
class Complex
{
	int a,b;//实部和虚部
public:
	Complex(void);
	Complex(int aa,int bb);
	Complex(const Complex &r);
	~Complex(void);
	Complex & operator =(const Complex &r);
	Complex operator +(const Complex &r);
	Complex & operator +=(const Complex &r);
	Complex operator *(const Complex &r);
	friend ostream & operator << (ostream & os,Complex &r);
    friend istream & operator >> (istream & is,Complex &r);
};

⌨️ 快捷键说明

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