以只读方式打开一个已存在的文本文件file1.txt,以下选项中正确的是 。 A: FILE *fp;fp=fopen(“file1.txt”,”r+”); B: FILE *fp;fp=fopen(“file1.txt”,”w”); C: FILE *fp;fp=fopen(“file1.txt”,”r”); D: FILE *fp;fp=fopen(“file1.txt”,”a”);
以只读方式打开一个已存在的文本文件file1.txt,以下选项中正确的是 。 A: FILE *fp;fp=fopen(“file1.txt”,”r+”); B: FILE *fp;fp=fopen(“file1.txt”,”w”); C: FILE *fp;fp=fopen(“file1.txt”,”r”); D: FILE *fp;fp=fopen(“file1.txt”,”a”);
以只读方式打开一个已有的文本文件file1.txt,下面有关fopen函数正确的调用方式为________。 A: FILE *fp;fp=fopen("file1.txt","w"); B: FILE *fp;fp=fopen("file1.txt","r"); C: FILE *fp;fp=fopen("file1.txt","r+"); D: FILE *fp;fp=fopen("file1.txt","rb+");
以只读方式打开一个已有的文本文件file1.txt,下面有关fopen函数正确的调用方式为________。 A: FILE *fp;fp=fopen("file1.txt","w"); B: FILE *fp;fp=fopen("file1.txt","r"); C: FILE *fp;fp=fopen("file1.txt","r+"); D: FILE *fp;fp=fopen("file1.txt","rb+");
【单选题】Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt". A. cat file1.txt file2.txt > new.txt B. cat file1.txt file2.txt = new.txt C. make new.txt=file1.txt+file2.txt D. cp file1.txt | head file2.txt > new.txt
【单选题】Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt". A. cat file1.txt file2.txt > new.txt B. cat file1.txt file2.txt = new.txt C. make new.txt=file1.txt+file2.txt D. cp file1.txt | head file2.txt > new.txt
用( )语句打开顺序文件File1.txt后,可以进行写操作 A: Open "File1.txt" For Input As B: 1 C: Open "File1.txt" For Output As D: 1 E: Open "File1.txt" For Random As F: 1 G: Open "File1.txt" For Binary As H: 1
用( )语句打开顺序文件File1.txt后,可以进行写操作 A: Open "File1.txt" For Input As B: 1 C: Open "File1.txt" For Output As D: 1 E: Open "File1.txt" For Random As F: 1 G: Open "File1.txt" For Binary As H: 1
用Open "File1.txt" For _______ As #1语句打开顺序文件File1.txt后,可以进行读操作。
用Open "File1.txt" For _______ As #1语句打开顺序文件File1.txt后,可以进行读操作。
用Open "File1.txt" For _______ As #1语句打开顺序文件File1.txt后,可以进行写操作。
用Open "File1.txt" For _______ As #1语句打开顺序文件File1.txt后,可以进行写操作。
在Windows中,下列正确的文件名是()。 A: My Program Group. TXT B: file 1| file2 C: A D: A? DOC
在Windows中,下列正确的文件名是()。 A: My Program Group. TXT B: file 1| file2 C: A D: A? DOC
在Windows10中,以下文件名()是错误的. A: &file.txt B: file*.txt C: file.txt D: 文件.txt
在Windows10中,以下文件名()是错误的. A: &file.txt B: file*.txt C: file.txt D: 文件.txt
把当前目录下的filel. txt复制为file2. txt,正确的命令是 A: copy filel. txt file2. txt B: cp filel.txt I file C: cat file2. txt filel. txt D: cat file. txt > file2. txtt
把当前目录下的filel. txt复制为file2. txt,正确的命令是 A: copy filel. txt file2. txt B: cp filel.txt I file C: cat file2. txt filel. txt D: cat file. txt > file2. txtt
( )命令可以把file1.txt复制为file2.txt。 A: cp file1.txt | file2.txt B: cat file1.txt | file2.txt C: cat file1.txt > file2.txt D: copy file1.txt | file2.txt
( )命令可以把file1.txt复制为file2.txt。 A: cp file1.txt | file2.txt B: cat file1.txt | file2.txt C: cat file1.txt > file2.txt D: copy file1.txt | file2.txt