Recently, I've been working with taking input from files and putting the output into another file. The problem I've been having is that when I put a newline character into a file using the fputc statement, it just prints a square box (the visible representation of the newline character, I guess?) instead of a new line. Here's a little snippet of what I'm doing that causes this.
It does the same thing with the fprintf statement.Code:fputc('\n', ofp);
Any ideas as to why it won't just start a new line instead of putting a square box there?