Boost logo

Boost Users :

Subject: Re: [Boost-users] creating cd... or set def... with boost "filesystem"
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-10-28 23:35:53


On Tue, Oct 28, 2008 at 18:06, M <meirab_at_[hidden]> wrote:
> today we have (for windows):
>
> SetCurrentDirectory( dir );
>
> and for linux (posix):
>
> if(chdir("/home/kot/Desktop") != -1)
>

http://www.boost.org/doc/libs/1_36_0/libs/filesystem/doc/reference.html#Attribute-functions

template <class Path> void current_path(const Path& p);

    Postcondition: equivalent( p, current_path() );


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