填空题

如果一个类中定义了成员对象,则该类的对象和成员对象先被初始化的是______。

【参考答案】

类的成员对象
<上一题 目录 下一题>
热门 试题

填空题
流操作子______可跳过输入流中的前导空白字符。
填空题
以下程序的执行结果是______。#include<iostream.h>#include<fstream.h>#include<stdlib.h>void main(){char ch;fstream file;file.open( abc. dar ,ios::out|ios:: in|ios::binary):if(! file){cout<< abc.dat文件不能打开 <<endl;abort() ;}file<< 12 34 56 <<endl;file.seekg(o,ios::beg):while(!file.eof()){streampos here=file.tellg();file.get(ch);if(ch==’ ’)cout<<here<< ;} cout<<endl:}
相关试题
  • 静态联编所支持的多态性称为______多...
  • C++语言中的基本符号可以分为_____...
  • ______是C++语言程序的人口。
  • 以下程序的执行结果是______。#incl...
  • 有如下的类模板定义:template<typenameTY...