|
Boost Users : |
From: Meir Yanovich (meiry242_at_[hidden])
Date: 2008-05-11 14:38:52
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_at_[hidden]> 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_at_[hidden]> wrote:
> > yeah its valid path
> >
> >
> >
> >
> > On Sun, May 11, 2008 at 5:28 PM, Ovanes Markarian
> > <om_boost_at_[hidden]> 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_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
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