I have an unmanaged Win32 project in Visual studio. It is using only C language. For a function, I am getting a parameter as 'filepath'. I have to validate filepath.
A test case will be written which will check, if the filepath is existed or not. It will give filepath(valid in syntax) which is not existed and ask to save/load the file.
How to handle this? How to check if filepath is existed or not in C?
My project setting is "No Common Language Runtime Support".
And I am not supposed to change this.
Following function will help: