题目内容

以下程序的执行结果是______。 #include<iostream.h> #include<fstream.h> #include<stdlib.h> void main() char ch; fstream file; file.open("abc. dar",ios::out|ios:: in|ios::binary): if(! file) cout<<"abc.dat文件不能打开"<<endl; abort() ; file<<"12 34 56"<<endl; file.seekg(o,ios::beg): while(!file.eof()) streampos here=file.tellg(); file.get(ch); if(ch==’ ’) cout<<here<<" "; cout<<endl:

查看答案
更多问题

小组(焦点)座谈法的价值在于在自由进行的小组讨论中,常常会得到一些与调查方案设计有关的意想不到的发现。( )

A. 对
B. 错

在窗体上画一个名称为CommonDialogl的通用对话框,一个名称为Command1的命令按钮。然后编写如下事件过程: Prirate Sub Command1_Click() CommonDialogl. FileName="" CommonDialogl. Filter="All file|*. *|(*. Doc)|*. Doc|(*. Txt)|*. Txt" CommonDialogl. Filterlndex=2 CommonDialogl. DialogTitle="VBTest" CommonDialogl. Action=1 End Sub 对于这个程序,以下叙述中错误的是______。

A. 该对话框被设置为“打开”对话框
B. 在该对话框中指定的默认文件名为空
C. 该对话框的标题为VBTest
D. 在该对话框中指定的默认文件类型为文本文件(*. Txt)

Visitors to this country are normally admitted for six months, but foreign students can usually stay for one year. They must (54) an educational institution, and they are required to study for a (55) of fifteen hours a week on a daytime course. Prospective students have to show that they can afford their studies, and that they have sufficient (56) resources to support themselves (57) in this country.In order to work here the foreigner needs a work permit, (58) must be applied for by his prospective employer. The problem here is that the Department of Employment has the right to grant or (59) these permits, and there is little that can be done (60) it; it would be extremely unwise for a foreign visitor to work (61) a permit, since anyone doing so is liable to immediate deportation (驱逐出境). There are some people from the European countries, who are often given (62) residence permits of up to five years. Some other people, such as doctors, foreign journalists, authors and others can work without permits, and foreign students are normally allowed to (63) part-time jobs while they are studying here. 56().

A. natural
B. financial
C. human
D. economical

阿卡波糖常采用_________ 给药方式。

答案查题题库