首页 > 眼镜验光员
题目内容 (请给出正确答案)
[单选题]

若要打开A盘上user子目录下名为abc.txt的文本文件进行读、写操作,下面符合此要求的函数调用是()。

A.fopen(“A:\user\abc.txt”,“r”)

B.fopen(“A:\\user\\abc.txt”,“r+”)

C.fopen(“A:\user\abc.txt”,“rb”)

D.fopen(“A:\user\\abc.txt”,“w”)

答案
收藏

B、fopen(“A:\\user\\abc.txt”,“r+”)

如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“若要打开A盘上user子目录下名为abc.txt的文本文件进…”相关的问题
第1题
(1)用IE浏览器打开如下地址:HTTP://NCRE/1JKS/INDEX.HTML,浏览有关“洋考试”中“雅思”的

(1)用IE浏览器打开如下地址:HTTP://NCRE/1JKS/INDEX.HTML,浏览有关“洋考试”中“雅思”的网页,将该页内容以文本文件的格式保存到考生目录下,文件名为“yasi”。

(2)用Outlook Express编辑电子邮件:

【Email地址】pingd33@sina.corn

【主题】一级教材

【内容】您好!您所需要的一级教材,我们已经到货了,请在工作日来我处领取。

点击查看答案
第2题
若目前D盘根目录下并不存在test. txt文件,则下列打开文件方式不会自动创建test.txt文件的是()。A)

若目前D盘根目录下并不存在test. txt文件,则下列打开文件方式不会自动创建test.txt文件的是()。

A) ifstream fin; fin. open("d:\\test.txt", ios_base::in);

B) fstream fio; fio. open("d:\\test. txt", ios_base::out);

C) ofstream fout; fout. open("d:\\test. txt", ios_base::out);

D) ofstream fout; fout. open("d:\\test. txt", ios_base::app);

点击查看答案
第3题
下列关于压缩数据库的说法中,不正确的是()

A.压缩可防止非法访问,从而保障数据库安全

B.压缩将会重新组织文件在磁盘上的存储方式

C.可以对未打开的数据库进行压缩

D.压缩可以优化数据库性能

点击查看答案
第4题
在窗体上添加有一个命令按钮,(名为Command1),然后编写如下事件过程:Private Sub Command1_Click(

在窗体上添加有一个命令按钮,(名为Command1),然后编写如下事件过程: Private Sub Command1_Click() For i=1 To 4 x=4 For j=1 To 3 x=3 For k=1 To 2 x=x+6 Next k Next j Next I MsgBox x End Sub 打开窗体后,单击命令按钮,消息框的输出结果是 ______。

A.7

B.15

C.157

D.538

点击查看答案
第5题
在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程: Private Sub Command1_Click()

在窗体上添加一个命令按钮(名为Command1),然后编写如下事件过程:

Private Sub Command1_Click()

For i=1 To 4

x=4

For j=1 To 3

x=3

Fork=1 To 2

x=x+6

Next k

Next j

Next i

MsgBox x

End Sub

打开窗体后,单击命令按钮,消息框的输出结果是()。

A.7

B.15

C.157

D.528

点击查看答案
第6题
● The user must interact with the (74) in order to accomplish task. (74)A. printer B. mem

● The user must interact with the (74) in order to accomplish task.

(74)

A. printer

B. memory

C. CPU

D. operating system

点击查看答案
第7题
电池产品的报检范围是:H.S编码()品目下的所有子目商品(含专用电器具配置的电池)。A.8506,8507B.85

电池产品的报检范围是:H.S编码()品目下的所有子目商品(含专用电器具配置的电池)。

A.8506,8507

B.8506.8507

C.8606,8607

D.8507.8506

点击查看答案
第8题
The ideal companion machine — the computer — would not only look, feel, and sound friendly
but would also be programmed to behave in a pleasant manner. Those qualities that make interaction with other people enjoyable would be imitated as closely as possible, and the machine would appear to be charming, and easygoing. Its informal conversational style. would make interaction comfortable, and yet the machine would remain slightly unpredictable and therefore interesting. In its first encounter it might be somewhat hesitant, but as it came to know the user it would progress to a more relaxed and intonate style. The machine would not be a passive participant but would add its own suggestions, information, and opinions; it would sometimes take the initiative in developing or changing the topic and would have a personality of its own.

Friendships are not made in a day, and the computer would be more acceptable as a friend if it imitated the gradual changes that occur when one person is getting to know another. At an appropriate time it might also express the kind of affection that stimulates attachment and intimacy. The whole process would be accomplished in a subtle way to avoid giving an impression of over-familiarity that would be likely to produce irritation. After experiencing a wealth of powerful, well-timed friendship indicators, the user would be very likely to accept the computer as far more than a machine and might well come to regard it as a friend.

An artificial relationship of this type would provide many of the benefits that people obtain from interpersonal friendships. The machine would participate in interesting conversation that could continue from previous discussions. It would have a familiarity with the user's life as revealed in earlier contact, and it would be understanding and good-humored. The computer's own personality would be lively and impressive, and it would develop in response to that of the user. With features such as these, the machine might indeed become a very attractive social partner.

Which of the following is NOT a feature of the ideal companion machine?

A.Active in communication.

B.Attractive in personality.

C.Enjoyable in performance.

D.Unpredictable in behaviour.

点击查看答案
第9题
在“文件包含”预处理语句的使用形式中,当#include后面的文件名用<>(尖括号) 括起时,寻找被包含文件的方式是()。

A.仅仅搜索当前目录

B.仅仅搜索源程序所在目录

C.在标准目录下查找指定的文件

D.先在源程序所在目录搜索,如查找不到,再按系统指定的标准目录查找

点击查看答案
第10题
若要设置定时器控件的定时时间,需设置的属性是

A.Interval

B.Value

C.Enabled

D.Text

点击查看答案
第11题
在“文件包含”预处理语句的使用形式中,当#include后面的文件名用<>(尖括号) 括起时,寻找被包含文件的方式是()

A.仅仅搜索当前目录

B.仅仅搜索源程序所在目录

C.在标准目录下查找指定的文件

D.先在源程序所在目录搜索,如查找不到,再按系统指定的标准目录查找

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改