单项选择题

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

相关试题
  • 若执行下面的程序时,从键盘上输入5和2,...
  • 语句ofstream f( SALARY.DAT ,ios∷a...
  • 以下for语句中不是死循环的是( )。
  • 下列是模板声明的开始部分,其中正确的是
  • 下列关于this指针的叙述中,正确的是