Warp escreveu: > std::ifstream is("testdata.txt"); > if(!is.good()) { std::cerr << "Couldn't open testdata.txt\n"; return 1; } hehe, pretty cool idiom for testing a file... is.good() :)
Post a reply to this message