C++ main with void return type and failed open file.