你可能感兴趣的试题
ifstream fin;fin.open("C:////test.txt"); ifstream fin("C:////test.txt"); (A和B) ifstream fin;fin("C:////test.txt");
did I expect do I expect I expect I expected
Right Wrong Not mentioned
fin.fail( ); fin.bad( ); fin.good( ); fin.eof( );
ifstream fin = ifstream, open( "file. dat" ) ; ifstream * fin = new ifstream( "file. dat" ) ; ifstream fin; fin. open ( "file. dat" ) ; ifstream * fin = new ifstream() ; fin -> open( "file. dat" ) ;
ifstream fin;fin.open("C:////test.txt"); ifstream fin("C:////test.txt"); 和 ifstream fin;fin("C:////test.txt");
ifstream fin=ifstream.open(“file.dat”); ifstream*fir=new ifstream(“file.dat”); ifstream fin;fin.open(“file.dat”); ifstream*fin=new ifstream( );fin->open(“file.dat”);
you can expect you did hope can you expect you will hope
fstream fin(“A: abc.txt”); ofstream fin (“A: abc.txt”); ifstream fin(“A: abc.txt”,ios:: app); ifstream fin(“A: abc.txt”,ios:: nocreate);
fin.fail() ; fin.bad() ; fin,good() ; fin.eof();
fin.fail( ); fin.bad( ); fin.good( ); fin.eof( );
did I expect do I expect I expect I expected
ifstream fin=ifstreaopen("fildat"); ifstream*fin=new ifstream("fildat"): ifstream fin;fiopen("fildat"); ifstream*fin=new ifstream( );fin->open("fildat");
fstream fin(“A: abtxt”); ofstream fin (“A: abtxt”); ifstream fin(“A: abtxt”,ios:: ap; ifstream fin(“A: abtxt”,ios:: nocreat;
fin. fail( ) ; fin. bad( ) ; fin. good( ) ; fin. eof( ) ;
fin.fail( ); fin.bad( ); fin.good( ); fin.eof( );
ifstream fin;fin.open("C:////test.txt"); ifstream fin("C:////test.txt"); A)和B) ifstream fin;fin("C:////test.txt");