Search This Blog

Wednesday, January 27, 2010

Check If file exist in c++

to check weather file exist in a directory , you can use the next system call:
access C Method
See usage example here: How to check professionally if a directory exist?
in unix it’s a valid C method , you might need to include unistd.h

Yaniv

No comments: