iostream.h
来自「eC++编译器源码」· C头文件 代码 · 共 30 行
H
30 行
#pragma iostream
#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 iostreams {
public:
iostreams & operator<<(iosret x);
iostreams & operator<<(ManipBase x);
iostreams & operator<<(int x);
iostreams & operator<<(unsigned int x);
iostreams & operator<<(long x);
iostreams & operator<<(double x);
iostreams & operator<<(char x);
iostreams & operator<<(char x[]);
iostreams & operator<<(boolean x);
iostreams & operator>>(int &x);
iostreams & operator>>(unsigned int &x);
iostreams & operator>>(long &x);
iostreams & operator>>(double &x);
iostreams & operator>>(char &x);
iostreams & operator>>(char &x[]);
iostreams & operator>>(boolean &x);
boolean eof();
void *p;
};
iostreams cin;
iostreams cout;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?