I'm using fprintf to print strings to a file, but I can't get it to make a new line.
Here's my code:
The output I'm hoping for is:Code:
f = fopen ("tester.txt", "wb");
fprintf(f, "HELLO\nWORLD\nIt's Good\nTo See\nYou");
But instead I'm getting:Quote:
thanks for your helpQuote:
HELLOWORLDIt's GoodTo SeeYou