网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

C++流类库是用继承方法建立起来的,它具有两个平行的基类,即istream类和ostream类,所有其他的流类都是从它们直接或间接地派生出来的。()


参考答案

更多 “ C++流类库是用继承方法建立起来的,它具有两个平行的基类,即istream类和ostream类,所有其他的流类都是从它们直接或间接地派生出来的。() ” 相关考题
考题 下面关于ios类的叙述中,正确的是( )。A.它是istream类和ostream类的虚基类B.它只是istream类的虚基类C.它只是ostream类的虚基类D.它是ostream类的虚基类

考题 重载输入流运算符>(ostream,);B.istream 重载输入流运算符<<必须使用的原型为A.ostream operator>>(ostream,<类名>);B.istreamo perator>>(istream,<类名>);C.ostream operator>>(ostream,<类名>);D.<类名>operator>>(istream,<类名>);

考题 C++中,由类istream和类ostream而派出的一个类( ),它提供双向I/O操作。A.iostreamB.fstreamC.strstreamD.istream

考题 重载输入流运算符>(ostream,);B.istr 重载输入流运算符<<必须使用的原型为( )。A.ostream operator>>(ostream,<类名>);B.istream operator>>(istream,<类名>);C.ostream operator>>(ostream,<类名>);D.<类名>operator>>(istream ,<类名>);

考题 不属于ios直接派生的类为( )。A.输入流类(istream)B.输出流类(ostream)C.文件流基类(fstreambase)D.格式控制类(iomanip)

考题 C++中,由类istream和类ostream而派出的一个类( ),它提供双向I/O操作,A.iostreamB.fstreamC.strstreamD.istream

考题 重载输入流运算符>>必须使用的原型为A.ostream operator>>(ostream,);B.istream 重载输入流运算符>>必须使用的原型为A.ostream operator>>(ostream,<类名>);B.istream operator>>(istream,<类名>);C.ostream operator>>(ostream,<类名>);D.<类名>operator>>(istream,<类名>);

考题 2、重载输入流运算符>>必须使用的原型为:A.ostreamoperator>>(ostream,<类名>);B.istreamoperator>>(istream,<类名>);C.ostreamoperator>>(ostream,<类名>);D.<类名> operator>>(istream,<类名>);

考题 4、下列关于流类库的描述中,错误的是()。A.流类库是C++语言的附属组成部分B.流类库的作用主要是为C++语言提供输入/输出功能C.流类库是一个以类ios为基类的类族D.流类库中总共定义了3个类