bool file_exists(char* path) {
}
So I want to know on how I could make a function that's a Boolean that lets me know whether a file exists or not in C language using the access()
function in C. What other functions would I need? I'm new to C and I'm coming from java just as a heads up. I haven't played around with accessing local files on computer from a program yet either so I'm just a bit stumped on what to do. Any help is appreciated!