在疾病的分布中寻找某些伴随着患病率(或发病率)变动而变动的因素以形成病因假设称
A.求同法B.求异法C.共变法D.排除法E.类推法
参考答案:C
关于衣原体,正确的是
A.可独立生活
B.具有独特发育周期
C.含一种类型核酸
D.原体无感染性
E.不引起肺部感染
使用VC++6.0打开考生文件夹下的源程序文件3.cpp,其中定义了用于表示矩形的CRect类,但类CRect的定义并不完整。请按要求完成下列操作,将类CRect的定义补充完整。 (1)定义私有数据成员leftPoint、topPoint、rightPoint、bottomPoint,分别用于表示矩形左上角及右下角的点的坐标,它们都是double型的数据。请在注释1之后添加适当的语句。 (2)完成默认构造函数CRect的定义,指定默认实参为0,它们都是double型的数据。请在注释2之后添加适当的语句。 (3)定义函数体为空的析构函数。请在注释3之后添加适当的语句。 (4)在main函数中定义CRect类的实例rect2,并把reetl的值赋给rect2。请在注释4之后添加适当的语句。 注意:除在指定位置添加语句之外,不要改动程序中的其他内容。 试题程序: #include<iostream.h> class CRect private: //********1******** public: //********2******** //********3******** void SetPoints(double,double,double,double); void SetLeftPoint(double m)leftPoint=m; void SetRightPoint(double m)rightPoint=m; void SetTopPoint(double m)topPoint=m; void SetBottomPoint(double m)hottomPoint=m; void Display(); ; CRect::CRect(double l,double t,double r,double b) leftPoint=1;topPoint=t; rightPoint=r;bottomPoint=b; void CRect::SetPoints(double l,double t,double r,double b) leftPoint=l;topPoint=t; rightPoint=r;bottomPoint=b; void CRect::Display() cout<<"left-top point is("<<leftPoint<<","<<topPoint<<")"<<’n’; cout<<"right-bottom point is("<<rightPoint<<","<<bottomPoint<<")"<<’\n’; void main() CRect rect0; rect0.Display(); rect0.SetPoints(20,20.6,30,40); rect0.Display(); CRect rect1(0,0,150,150); rect1.SetTopPoint(10.5); rect1.SetLeftPoint(10.5); //********4******** rect2.Display();