【单选题】【消耗次数:1】
若要以读/写操作方式打开一个二进制文件,当文件不存在时返回打开失败信息,则选用的打开方式字符串为( )。
r+
ab+
rb+
wb+
参考答案:
复制
纠错
相关题目
【单选题】 若要以读/写操作方式打开一个二进制文件,当文件不存在时返回打开失败信息,则选用的打开方式字符串为( )。
①  r+
②  ab+
③  rb+
④  wb+
【单选题】 当使用ifstream定义一个文件流,并将一个打开文件的文件与之连接,文件默认的打开方式为( )
①  ios::in
②  ios::out
③  ios::trunc
④  ios::binary
【单选题】 当使用ifstream定义一个文件流,并将一个打开文件的文件与之连接,文件默认的打开方式为( )
①  ios::in
②  ios::out
③  ios::trunc
④  ios::binary
【单选题】 下列文件打开方式,可以同时进行读写操作的是?
①  Append
②  Random
③  Output
④  Input
【单选题】 在Word2010中,当前已打开一个文件,若想打开另一文件,则_____。
①  首先关闭原来的文件,才能打开新文件
②  打开新文件时,系统会自动关闭原文件
③  可直接打开另一文件,不必关闭原文件
④  新文件的内容将会加入原来打开的文件中
【单选题】 二进制文件与字符文件不同的是()。
①  二进制文件中每字节数据都没有用ASCII码表示
②  二进制文件包含了ASCII码控制符
③  二进制文件一般以字符\0结束
④  二进制文件用字符endl表示行的结束
【单选题】 在Windows中用鼠标打开一个窗口、启动一个软件或者打开一个文件的操作,正确的方法是()。
①  单击
②  双击
③  右击
④  拖拽
【单选题】 向一个二进制文件写入信息的函数fwrite()带有( )参数。
①  1
②  2
③  3
④  4
【单选题】 向一个二进制文件写入信息的函数fwrite()带有( )参数。
①  1
②  2
③  3
④  4
【单选题】 在Visual FoxPro中,打开一个数据表文件的命令是
①  OPEN DATABASE数据表文件名
②  USE数据表文件名
③  OPEN数据表文件名
④  CREATE数据表文件名
随机题目
【单选题】 7. They hope to_________the source of the infection.
①  track down
②  look down
③  look at
④  back down
【单选题】 1.The movie star ______ with your sister, didn’t he?
①  was used to dance
②  used to dancing
③  used to dance
④  was used to dancing
【单选题】 7.We had warned him________the danger but he turned a deaf ear to our warning.
①  to
②  along
③  in
④  of
【单选题】 10.It’s a highly___________infection.
①  connect
②  infect
③  infected
④  contagious
【单选题】 8. Herson didnotseemto_____anyimportanceto what she had said.
①  stick
②  notice
③  attach
④  remind
【单选题】 13.Don’t ______ to let me know if there’s anything I can do for you.
①  thrill
②  hesitate
③  reject
④  puzzle
【单选题】 5. Without your help, I couldn’t ______ the details ______.
①  work…at
②  work…out
③  work…on
④  work…up
【单选题】 8. Economy seems to be the only ______ to the financial problem.
①  generation
②  mean
③  solution
④  resolution
【单选题】 5. He gave no________that he was ready tocompromise.
①  eyes
②  show
③  indication
④  see
【单选题】 5.Nobody would believe his words though he said he was ______ of the crime.
①  pure
②  clear
③  innocent
④  guilty