complex_io.h

来自「《无线通信系统仿真——c++使用模型》这本书的源代码」· C头文件 代码 · 共 18 行

H
18
字号
//
//  file = complex_io.h
//

#ifndef _COMPLEX_IO_H_
#define _COMPLEX_IO_H_ 

#include <fstream>
#include <complex>
using std::complex;
using namespace std;
//
fstream& operator<<(fstream&, const complex<float>&);
ostream& operator<<(ostream&, const complex<double>&);
istream& operator>>(istream&, complex<float>&);
istream& operator>>(istream&, complex<double>&);

#endif // _COMPLEX_IO_H_

⌨️ 快捷键说明

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