Trouble writing characters to a file.
When I open file1.txt, every character which has been written to the file appears on a separate line. I want them to appear on a single line. What's going on? Any help much appreciated. I'm finding C very challenging, but I hope to eventually be fairly good at it.
file1 = fopen("file1.txt","a");
printf("Type a character to print to the file. Type a slash / to exit: ");
goto the_end; }