do u use Microsoft Visual C++ 2005 Express Edition?
boost_1_34_1,libboost_filesystem-vc80-mt-1_34_1.lib?
can you check with this setup?
thanks
On Mon, May 12, 2008 at 9:45 AM, Meir Yanovich
no its not network drive what else can i check ?
On Mon, May 12, 2008 at 1:35 AM, John Femiani
wrote: Meir Yanovich:
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; }
Hmm,
I created a folder C:\ddd\ccc and ran your code exactly as it is. The result:
C:\ddd\cccis
So it works! (and your missing a newline in your output)
Is I: a network drive? If so, have you verified that it is connected?
-- John
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users