读取文件内容的API函数是()。
A.FindFirstFileA函数
B.CreateFileA函数
C.GetFileAttributesA函数
D.ReadFile函数
A.FindFirstFileA函数
B.CreateFileA函数
C.GetFileAttributesA函数
D.ReadFile函数
第1题
T、对
F、错
第3题
A.随机访问文件与顺序文件的工作方式相同,读写随机文件的方法与顺序文件也相同
B.当读取随机文件时,必须读取第一个记录,它定义了后续记录的长度
C.随机文件中的每一个记录都有一个前缀来指示记录的长度,允许文件中的记录的长度不同
D.以上都不对
第5题
T、对
F、错
第6题
A.GetLogicalDriveStrings()
B.GetLogicalDrives()
C.GetFileAttributes()
D.CreateFileA
第7题
下列函数中,()是对文件进行写操作的。
A.get()
B.read()
C.seekg()
D.put()
第10题
A.public void example(int m){...}
B.public void example2(int k){...}
C.public int example(int m, float f){...}
D.public int example(int k){...}
第11题
A.fscanf(文件指针,格式字符串,输出表列)
B.fscanf(格式字符串,输出表列,fp)
C.fscanf(格式字符串,文件指针,输出表列)
D.fscanf(文件指针,格式字符串,输入表列)