
7 Jun
2007
7 Jun
'07
5:35 p.m.
Surya Kiran Gullapalli wrote:
try { boost::filesystem::create_directory (path) } catch (boost::filesystem::basic_filesystem_error boost::filesystem::path& e) { cout << e.what() << endl ; }
e.what() returns the string boost::filesystem::create_directory.
That seems really weird. I catch std::exception& and get a more complete error message. Don't know why that should affect anything.