check if a file exists
-
What function should I use to check if a file exists? I came across it when I didn't need it, now that I need it I can't find it. :( Gotta love how that works. :-D Thanks! Hua-Ying
PathFileExists()
in shlwapi.h -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four! -
What function should I use to check if a file exists? I came across it when I didn't need it, now that I need it I can't find it. :( Gotta love how that works. :-D Thanks! Hua-Ying
You can also use
_access()
.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
PathFileExists()
in shlwapi.h -- I'm Michael Dunn and I approve this post. Vote Trogdor in oh-four! -
You can also use
_access()
.
"Opinions are neither right nor wrong. I cannot change your opinion of me. I can, however, change what influences your opinion." - David Crow
-
What function should I use to check if a file exists? I came across it when I didn't need it, now that I need it I can't find it. :( Gotta love how that works. :-D Thanks! Hua-Ying
You can also use
GetFileAttributes()
You can also useCreateFile
and try to open Existing You can also useFindFirstFile
You can also useCFile
You can also usefopen
:omg: