Hello everybody, I've been having trouble outputting text to a FILE. This is the code I've been trying to use
...with stdio.h included. It will let me actually open the file, but nothing will print out to it. Can someone please help me? (I'm sorry I can't provide the entirety of the code as it is much too long to be practically printed hereCode:FILE *outLog; outLog = fopen("PortLog", "w"); fclose(outLog); fputs("Hello",outLog); fclose(outLog);