The couple has donated a not ______amount of money to the foundation.
A. inconsiderable
B. inconsiderate
C. inaccurate
D. incomparable
查看答案
The civil servants’’ strike was staged ______the general strike.
A. a few days after
B. a few days before
C. a few weeks after
D. a few weeks before
The civil servants held a strike to protest_______.
A. spending cuts.
B. reform measures.
C. pay cuts.
D. low pay.
Questions 11to 18re based on the conversation you have just heard.
An exciting dream.
B. A funny dream.
C. A frightening dream.
D. A happy dream.
【说明】 通常情况下,用户可以对应用系统进行配置,并将配置信息保存在配置文件中,应用系统在启动时首先将配置文件加载到内存中,这些内存配置信息应该有且仅有一份。 下面的代码应用了单身模式(Singleton)以保证Configure类只能有一个实例。这样,Configure类的使用者无法定义该类的多个实例,否则会产生编译错误。 # include <iostream.h> class Configure{ (1) ; Configure(){}; //构造函数 public: static Configure *Instance(); public: int GetConfigureData(){return data;} //获取配置信息 int SetConfigureDate(int m_data) {data=m_data; return data;} //设置配置信息 private: static Configure* _instance; int data; //配置信息 }; (2) =NULL; Configure * Configure∷Instance() { if(_instance==NULL) { _instance= (3) ; //加载配置文件并设置内存配置信息,此处省略 } return (4) ; } void main() { Configure *t=NULL; t= (5) ; int d=t->GetConfigureData(); //获取配置信息后进行其它工作,此处省略 }