题目

使用VC6打开考生文件夹下的源程序文件modi3.cpp。其中定义的类并不完整,按要求完成下列操作,将类的定义补充完整。  1.在类TestClass中定义name为字符串类型,age为整型,请在注释∥********1********之后添加语句。  2.设置类TestClass0的基类为TestClass类的定义,请在注释∥********2********后添加语句。  3.在类TestClass的派生类TestClass0的公有成员中定义析构函数TestClass0,请在∥********3********后添加。  4.设置类TestClass1的基类为TestClass类的定义,请在∥********4********后实现。  本程序输出如下结果:  TestClass class constructor  TestClass0 class constructor  TestClass on class constructor  TestClass1 class constructor  TestClass1 class constructor  TestClass class constructor  TestClass0 class constructor  TestClass class constructor  注意:增加代码,或者修改代码的位置已经用符号表示出来。请不要修改其他的程序代码。    

提示:未搜索到的试题可在搜索页快速提交,您可在会员中心"提交的题"快速查看答案。
答案
查看答案
相关试题

Which of the following commands can an operator use to view disk performance details?()

A、topas -D

B、topas -R

C、topas -C

D、topas -d

Power750支持的微分区数量?()

A、160

B、40

C、320

D、80

What is the User Interface (UI) feature called that allows a form field’s text to be automatically filled in?()

A、Auto completion

B、Auto Insert

C、Field Validation

D、Type Ahead

患者女性,32岁。慢性迁延性胃炎。反复上腹胀痛,食欲减退,反酸、嗳气。近半年,出现贫血、体重减轻。对该患者的治疗,最有效的是()

A、胃黏膜保护药

B、质子泵抑制剂

C、H受体拮抗剂

D、肌注维生素B12

E、手术治疗

An application owner wants to grant write permission to all users for all the files and directories in the application directory. Which of the following is the correct command?()

A、chmod -R u+rw /application

B、chmod -r u+rw /application

C、chmod -R o+rw /application

D、chmod -r o+rw /application

联系我们 会员中心
返回顶部