• 2022-05-27
    哪一个命令能用来删除当前目录及其子目录下名为‘Core’的文件?()
    A: fin
    B: -nAmeCore-exeCrm;
    C: fin
    D: -nAmeCore-exeCrm{}\;
    E: fin
    F: -nAmeCore-exeCrm{}-;
    G: fin
    H: -nAmeCore-exeCrm{}。
  • B

    内容

    • 0

      以下命令中,能用来删除当前目录及其子目录下名为'core'的文件的命令是( )。 A: find . -name core -exec rm ; B: find . -name core -exec rm {} \; C: find . -name core -exec rm {} -; D: find . -name core -exec rm {} ;

    • 1

      Nemo was born with a defective fin, which is called "the lucky fin".( ) A: 对 B: 错

    • 2

      nasal fin

    • 3

      要建立文件流并打开当前目录下的文件file.dat用于输入,下列语句中错误的是()。 A: ifstreamfin=ifstream.open(“file.dat”); B: ifstream*fin=newifstream(“file.dat”); C: ifstreamfin;fin.open(“file.dat”); D: ifstream*fin=newifstream();fin->open(“file.dat”);

    • 4

      函数filecopy的功能是,将fin所指文件中的内容输出到fout所指文件中,但函数不完整: void filecopy( FILE *fin,FILE *fout) { char ch; ch=getc(fin); while(________________) { putc(ch,fout); ch=getc(fin); } }其中下划线处应填入的是