I have searched around and have found that this is a pretty common error, but fprintf isn't printing newline/return carriages.
I have tried w, w+, wb for the file type.Code:FILE *index; index = fopen("index.html", "w"); fprintf(index, "Website Information: \n"); fclose(index);
I have tried \n, \r, \r\n for the newline/return commands.
Nothing is working.
I am running NetBeans on windows, compiling using cygwin.
Thanks for any help.