28 May
2004
28 May
'04
7:11 a.m.
Uli Türk wrote:
I wanted to create a hidden files (for configuration etc) by starting the filename with a dot on a Linux system. The following line aborts the program when filename is a std::string starting with a dot:
boost::filesystem::path filename_complete = basepath / filename;
Are there any tricks for that?
You need to use a native path. Read up on native path representations and the name check mechanism in the documentation for "boost/filesystem/path.hpp". HTH, Markus