单项选择题

C++源晚间中包含的输入/输出头文件为( )。

A.stdio.h
B.stdafx.h
C.iostream.h
D.stream.h
<上一题 目录 下一题>
热门 试题

单项选择题
进行文件操作时需要包含( )文件。
A.lostream.h
B.fstream.h
C.stdio.h
D.stidliB.h
单项选择题
下列程序的输出结果是() #include class Myclass public:Myclass(int i=0,intj=0) x=i; y=j; void show( ) cout < < x= < < x < < < y= < < y < < end1; void show( )const cout < < x= < < < < y=' < < y < < end1; privated: int x; int y; ; void main( ) Myclass my1(3,4); const my2(7,8); my1.show( );my2.show( );

A. x=4,y=3;x=7,y=8
B. x=3,y=4;x=7,y=8
C. x=7,y=8;x=4,y=3 
D.x=8,y=7;x=7,y=8

相关试题
  • 下列程序中需要清理动态分配的数组,划线处...
  • 设置虚基类的目的是解决二义性问题,通过用...
  • 表达式“c3=c1.operator+(c2)”或...
  • 虚函数必须是类的______。
  • 在面向对象的程序设计中,将数据和处理数据...