|
Boost Users : |
Subject: Re: [Boost-users] using boost::filesystem::delete
From: Everton Patitucci (patucci_at_[hidden])
Date: 2009-03-03 12:43:20
> Hi:
> I have a boost::filesystem::wpath object. I need to firstly check if the
> file exists, and secondly delete and check the file has been deleted.
> How would I go about this?
> I've loked at the reference and carn't seem to make sense, are thee any
> examples of both these functions?
>
> Any help apreciated.
> Sean.
>
checking if a file exists...
http://www.boost.org/doc/libs/1_38_0/libs/filesystem/doc/reference.html#Predicate-functions
second method.
removing a file...
http://www.boost.org/doc/libs/1_38_0/libs/filesystem/doc/reference.html#Operations-functions
sixth method.
Patuti
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net