M
Marcia Hon
Hi,
I am trying to create a file for writing:
FILE * List_of_Files;
char * List = "List_of_Files;
if((List_of_Files = fopen(List, "w")) == NULL)
{
fprintf(stderr, "Cannot write file");
}
I don't understand why it does not open the file for writing. Please help.
Thanks,
Marcia
I am trying to create a file for writing:
FILE * List_of_Files;
char * List = "List_of_Files;
if((List_of_Files = fopen(List, "w")) == NULL)
{
fprintf(stderr, "Cannot write file");
}
I don't understand why it does not open the file for writing. Please help.
Thanks,
Marcia