fileIn.exceptions ( ifstream::failbit | ifstream::badbit ); try { fileIn.open( "file" ); } catch ( ifstream::failure e ) { cout << "Error.
確定! 回上一頁