ifstream f; f.open(fileName); if ( f.fail() ) { // I need error message here, like "File not ... std::ifstream f; //prepare f to throw if failbit gets set ...
確定! 回上一頁