D
Daz
Hi everyone. I am not sure of where best to post this message.
I have spent 2 days now trying to answer this question to no avail, and
I am gradually reaching the end of my tether.
I am trying to figure out how to:
see if a directory exists (using the whole path, not a folder in the
current directory).
if not, make the director( y | ies )
I think it may be something to do with
boost::filesystem::directory_iterator, but I can't be 100% sure on how
to use it if this is the case.
Could someone explain how I might go about seeing if "C:\test" exists,
even though the CWD is "C:\documents and settings". I have checked the
documentation which I didn't really understand, and can't seem to find
any other resources that don't require you to be a C++ graduate, to
understand them.
I am sure there is a really simple solution, and that I may have just
got myself lost in the complexities rather than the simplicities.
As there doesn't appear to be any articles on usenet (that I can find)
containing this information, any input/debates would be appreciated as
always.
Best wishes.
Daz
I have spent 2 days now trying to answer this question to no avail, and
I am gradually reaching the end of my tether.
I am trying to figure out how to:
see if a directory exists (using the whole path, not a folder in the
current directory).
if not, make the director( y | ies )
I think it may be something to do with
boost::filesystem::directory_iterator, but I can't be 100% sure on how
to use it if this is the case.
Could someone explain how I might go about seeing if "C:\test" exists,
even though the CWD is "C:\documents and settings". I have checked the
documentation which I didn't really understand, and can't seem to find
any other resources that don't require you to be a C++ graduate, to
understand them.
I am sure there is a really simple solution, and that I may have just
got myself lost in the complexities rather than the simplicities.
As there doesn't appear to be any articles on usenet (that I can find)
containing this information, any input/debates would be appreciated as
always.
Best wishes.
Daz