
20 Jan
2012
20 Jan
'12
4:13 a.m.
I am having trouble deleting files with boost::filesystem. Following code does not work for me (and I can't find the doc that explains how to do it). boost::filesystem::path pt("somepath"); pt /= ("*.data"); boost::filesystem::remove(pt); pt variable points to the valid set of files, but removal does not happened. I will appreciate an advise and may be pointing me to the right place in the docs. Thanks.