maybe my question is quite simple, but although searching like wild I cannot
find a solution.
I just want to create a file, let's say to "c:\my folder\filename1.txt".
Normally with append-option, the file is created if it doesn't exist. But I
want also the folder to be created if it does not exist - now if the
specified folder is not available, the file isn't created at all.
Is there an additional option in fopen or orther function that could do exactly this?
I am using Windows-7 OS and MS Visual C++ compiler. I want to do this using C language without using system() function.