file.exceptions( std::ifstream::failbit | std::ifstream::badbit ); try { file.open("IDoNotExist.txt"); } catch(const std::ifstream::failure& ...
確定! 回上一頁