此题为判断题(对,错)。
第1题:
A、are…being
B、is…being
C、has…been
D、have…been
第2题:
#include <fstream>
#include <iostream>
using namespace std;
int main()
{
fstream inout;
inout.open("city.txt",ios::out);
inout<<"Dallas"<<" "<<"tonghua"<<" "<<"长春"<<" " ;
inout.close();
inout.open("city.txt",ios::app | ios::out);
inout<<"罗马"<<" "<<"巴黎"<<" ";
inout.close();
char city[20];
inout.open("city.txt",ios::in);
while(!inout.eof())
{inout>>city;
cout<<city<<" ";
}
inout.close();
system("PAUSE");
return 0;
}
定义一个字符型数组city[20],将从文本文件“city.txt”所读取的数据,暂时存在city[20]中,然后通过输出函数cout将数据输出。
第3题:
ground ________地面沉降
第4题:
若目前D盘根目录下并不存在test.txt文件,则下列打开文件方式不会自动创建test,txt文件的是( )。
A.ifstreamfin;fin.open("d:\\test.txt",iso_base::in);
B.fstreamfi0;ri0.open("d:\\test.txt",is0_base::out);
C.ofstream。fort;lout.open("d:\\test.txt",ios_base::out);
D.ofstreamfout;fout.open("d:\\test.txt",is0_base::app);
第5题:
future __________ 子孙后代
第6题:
翻译:以市场为导向的服务
A.A) market-oriented service
B.B) market-centered service
C.C) market-featured service
D.D) market-towards service