|
Boost Users : |
From: Jens Seidel (jensseidel_at_[hidden])
Date: 2008-05-10 14:53:35
Hi Igor!
On Sat, May 10, 2008 at 09:08:36PM +0300, Igor R. wrote:
>
> Does it work without the trailing slash (I:/ddd/ccc) ?> Date: Sat, 10 May 2008 17:13:16 +0200> From: meiry242_at_[hidden]> To: boost-users_at_[hidden]> Subject: [Boost-users] s_directory(path) returns false in windows , path do exist> > Hello all> im new to boost::filesystem and im trying to run simple test on> checking folder existence> on windows 2k but even so the folder do excites im getting false from> is_directory(path)> what im doing wrong here ?> > #include "boost/filesystem.hpp" // includes all needed> Boost.Filesystem declarations> using namespace boost::filesystem;> path path("I:\\ddd\\ccc\\",boost::filesystem::native);> or> path path("I:/ddd/ccc/");> or> path path("I:\\ddd\\ccc\\";> > if(is_directory(path)){> printf("is");> }else{> printf("none");> }> > what im doing wrong here?> _______________________________________________> Boost-users mailing list> Boost-users_at_[hidden]> http://lists.boost.org/mailman/listinfo.cgi/boost-users
> _________________________________________________________________
> Connect to the next generation of MSN Messenger
> http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
Please stop sending garbage to this list! Configure your mail client
properly and also disable HTML attachments. After this test it!
Jens
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