Hey how do I make so this would save myfile as a text file?
FILE * pFile;
char filename[256] = "myfile";
pFile = fopen (("%s",filename), "w");
fclose (pFile);
This creates a File named myfile but not as a textfile.
I tried to add .txt after %s but that doesn't help.
Thanks
John