继发龋的检查用
A.扪诊B.咬诊C.X线检查D.松动度检查E.局部麻醉检查
参考答案:C
使用VC++6.0打开考生文件夹下的源程序文件3.cpp,其中定义了用于表示日期的类Date,但类Date的定义并不完整,按要求完成下列操作,将类的定义补充完整。 (1)定义私有成员变量year、month、day,分别表示年、月、日,类型为int。请在注释1后添加适当的语句。 (2)完成构造函数,分别给year、month、day赋值,请在注释2后添加适当的语句。 (3)完成重载符号“+=”的定义,请在注释3后添加适当的语句。 (4)完成print打印函数,输出到屏幕和文件的格式相同,请在注释4后添加适当的语句。 注意:仅在函数指定位置添加语句,请勿改动主函数main与其他函数中的任何内容。 程序正常运行,输出的结果为2008年11月8日。 试题程序: #include<iostream.h> #include<fstream> #include<iomanip> #include<cmath> using namespace std; void WriteFile(int c) ofstream out1; out1.open("3.txt",ios_base::app); out1<<c<<’’; out1.close(); void WriteFile(char *str) ofstream out1; out1.open("3.txt",ios_base::app); out1<<str; out1.close(); void ClearFile() ofstream out1; out1.open("3.txt"); out1.close(); class Date public: Date(int y,int m,int d) //********1******** void print(); //********2******** month+=m; int i=month/12; int j=month%12; if(j==0) year+=(i-1); month=12; else year+=i; month=j; return *this; private: //********3******** ; void Date::print() //********4******** WriteFiIe(year); writeFile("年"); WriteFile(month); WriteFile("月"); WriteFile(day); WriteFile("日"); int main() ClearFile(); Date Oly_day(2008,8,8); Oly_day+=3; Oly_day.print(); return 0;
2012年1月以来,日本许多地区普降特大暴雪。读图,完成1-2题。
1.对日本暴雪空间分布形成无关的因素是 [ ]
A.地形因素
B.位于板块交界处
C.西北季风
D.日本海提供充足水汽
2.监测雪灾分布最直接的地理信息技术是 [ ]
A.遥感
B.全球定位技术
C.地理信息技术
D.数字地理