Boost logo

Boost :

From: Russell Hind (rhind_at_[hidden])
Date: 2003-06-30 03:04:56


Tim Russell wrote:
> boost::filesystem::path p;
> p = boost::filesystem::path(" .txt"); .// Three spaces
>

Have you tried

p = boost::filesystem::path(" .txt", boost::filesystem::native);

as this is how I have to construct paths on Windows because of the \
separater. Maybe this will work for you also.

Russell


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk