📄 complex.h
字号:
#ifndef _COMPLEX_H#define _COMPLEX_Hclass Complex{private: double real; double image;public: Complex(void); Complex(double a,double b=0); Complex operator+(Complex); Complex operator-(Complex); Complex operator*(Complex); Complex operator*(double); Complex operator/(Complex); Complex &operator=(double); double getReal(void); double getImage(void); Complex conj(void); Complex power(int); int operator==(Complex); void print(void); void fprint(FILE *);};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -