
sure the output is : I:\ddd\ccc the program is: #include <iostream> #include "boost/filesystem.hpp" using namespace boost::filesystem; using namespace std; int main(int argc, char* argv[]) { path path("I:/ddd/ccc",native); cout << path.file_string(); if(exists(path)){ printf("is"); }else{ printf("none"); } return 0; } On Sun, May 11, 2008 at 7:49 PM, Ovanes Markarian <om_boost@keywallet.com> wrote:
Would be great if you would provide more info and not a statement that it is valid. Due to this info the list members could make their own assumptions.
What is the output in std::cout for your path? attach may be a small test app which fails or send to my private email Visual Studio Project.
On Sun, May 11, 2008 at 7:03 PM, Meir Yanovich <meiry242@gmail.com> wrote:
yeah its valid path
On Sun, May 11, 2008 at 5:28 PM, Ovanes Markarian <om_boost@keywallet.com> wrote:
Did you try to debug your code? What is path after is was created? Does
it
contain a valid path string?
just try to std::cout << path.file_string();
Regards, Ovanes
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users