G
Gary Wessle
Hi
please help with this.
std::fstream iofs( f.c_str(), std::ios::in|std::ios:
ut );
std::cout << f << '\n' << iofs.is_open() << std::endl;
puts out
****************************************************************
pair_status/myPair
0
****************************************************************
and the file is not created, why is_open() is reporting a failure?
how can I create the file if it is not there besides what I have
already done?
many thanks
please help with this.
std::fstream iofs( f.c_str(), std::ios::in|std::ios:
std::cout << f << '\n' << iofs.is_open() << std::endl;
puts out
****************************************************************
pair_status/myPair
0
****************************************************************
and the file is not created, why is_open() is reporting a failure?
how can I create the file if it is not there besides what I have
already done?
many thanks