from my c++ console prog, i need to find out if a directory exists.
in windows, all(even empty ones) have \folder\nul
does unix have something similar ?
from my c++ console prog, i need to find out if a directory exists.
in windows, all(even empty ones) have \folder\nul
does unix have something similar ?
doing the easy way again
you will have to mount your windows partition first into say something like /mnt/windows
then system(find /mnt/windows -type d -name "yourdirectoryname" -print)
--> "/directory/foobar", "w+"
what's the "w+" ?
basically i'm in my home dir.
in my home dir there is a dir called saves,
i need to see it if exists.
(It's done for my windows section, but it needs to work on linux)
you must be in Canada