Top "Boost-filesystem" questions

The Boost.

boost::filesystem exists() on directory path fails, but is_directory() is ok

I'm getting path to current directory with boost filesystem, then checking if the directory exists. is_directory() is ok, but …

boost boost-filesystem
boost directory_iterator example - how to list directory files not recursive

How should I use directory_iterator to list directory files (not recursive)? Also what header files / libs should I add/…

boost boost-filesystem
how to perform boost::filesystem copy_file with overwrite

The Windows API function CopyFile has an argument BOOL bFailIfExists that allows you to control whether or not you want …

c++ windows boost boost-filesystem
C++ / Boost Filesystem - mismatch detected for '_MSC_VER': value '1700' doesn't match value '1600'

I'm new to C++ and Boost. I'm doing a small simple program to trying to learn the Boost Filesystem library. …

c++ visual-studio boost boost-filesystem
Boost.Filesystem how to find out in which directory your executable is?

So I run my app. I need for it to know where its executable is. How to find path to …

c++ boost boost-filesystem
expand file names that have environment variables in their path

What's the best way to expand ${MyPath}/filename.txt to /home/user/filename.txt or %MyPath%/filename.txt to c:\…

c++ wxwidgets boost-filesystem
boost::filesystem get relative path

What methods of the boost::filesystem library can help me to get a path relative to another path? I have …

c++ boost filesystems boost-filesystem
Get relative path from two absolute paths

I have two absolute filesystem paths (A and B), and I want to generate a third filesystem path that represents "…

c++ boost boost-filesystem
C++ BOOST undefined reference to `boost::filesystem::detail::copy_file

I have no clue why boost::filesystem::copy_file is making trouble for me. undefined reference to `boost::filesystem::detail::…

c++ boost linker-errors boost-filesystem
Obtain platform's path separator using Boost.Filesystem

Is there a way to obtain the platform's path separator character using Boost.Filesystem? By path separator, I mean / for …

c++ boost boost-filesystem