fstreams.h
来自「eC++编译器源码」· C头文件 代码 · 共 31 行
H
31 行
#pragma fstreams
#include <iomanip.h>
//for output, the maniplulators are hex/dec/oct/binary scientific/fixed
//also setw() for width and setprecision() for # of digits to right of decimal
//for input, call cin.eof() to test for failure
class fstream {
public:
fstream & operator<<(iosret x);
fstream & operator<<(ManipBase x);
fstream & operator<<(int x);
fstream & operator<<(unsigned int x);
fstream & operator<<(long x);
fstream & operator<<(double x);
fstream & operator<<(char x);
fstream & operator<<(char x[]);
fstream & operator<<(boolean x);
fstream & operator>>(int &x);
fstream & operator>>(unsigned int &x);
fstream & operator>>(long &x);
fstream & operator>>(double &x);
fstream & operator>>(char &x);
fstream & operator>>(char &x[]);
fstream & operator>>(boolean &x);
boolean eof();
boolean fail();
void open(char fileName[], ios::iosflags x);
void close();
void *p;
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?