使用VC6打开考生文件夹下的工程test13_1,此工程包含一个源程序文件test1

题型:问答题

问题:

使用VC6打开考生文件夹下的工程test13_1,此工程包含一个源程序文件test13_1.cpp,但该程序运行有问题,请改正程序中的错误,使该程序的输出结果如下:
n=2
n=5
n=7
源程序文件test13_1清单如下:
#include<iostream.h>
class Sample

int n;
public:
/*************** found ************+***/
Sample()
Sample(int i)n=i;
/***************** found ********+**********/
void add(Sample s1,Sample s2)
/***************** found ****************/

this.n=s1->n+s2.n;

void disp()cout<<"n="<<n<<endl;

void main()

Sample s1(2),s2(5),s3;
s3.add(&s1,s2);
s1.disp();
s2.disp();
s3.disp();

考点:计算机等级考试C++二级C++机试
题型:问答题

资产评估中的市场价值成立的基础条件包括()。

A.被评估资产处于最佳使用状态

B.被评估资产只能按照评估时正在使用的用途和方式继续使用

C.公开市场条件

D.关联交易条件

E.假设清算

题型:问答题

We must cut __________ the tomatoes and put them __________ the blender.[ ]

A. up; into

B. off; into

C. up; for

D. off; in

题型:问答题

If you don't have much money, you are            .[ ]

A. rich

B. cheap

C. poor

D. expensive

题型:问答题

报名参加会计专业技术资格初级考试的人员,除了应具备规定的基本条件外,还必须具备教育部门认可的( )学历。

A.高中毕业以上
B.中专以上
C.大专以上
D.本科以上

题型:问答题

财政的隐性支出包括:税收支出、()、政府的法规或命令.

更多题库