ios类提供控制格式标志位中,指定转换十六进制形式的标志位的是( )
A. hex
B. oct
C. dec
D. left
C++的类主要是以ios类和( )类为基础的。
A. istrstream
B. streambuf
C. iostream
D. ofstream
( )类是所有输入/输出类的基类,它是一个抽象类。
A. ios
B. istream
C. fstream
D. ostream
#include #include using namespace std;void main() {int a[9]={1,2,3,4,5,6};for (int i=0;i<6;i++) {cout<