Skip to main content
#include and underscrore prefix
Source Link
Rob
  • 79.2k
  • 57
  • 162
  • 200

How about access?

#include <io.h> if (access_access(filename, 0) == -1) { // File does not exist } 

How about access?

if (access(filename, 0) == -1) { // File does not exist } 

How about access?

#include <io.h> if (_access(filename, 0) == -1) { // File does not exist } 
Source Link
Rob
  • 79.2k
  • 57
  • 162
  • 200

How about access?

if (access(filename, 0) == -1) { // File does not exist }