I am writing to a text file. Everything is working fine, except I can not figure out how to start a newline. I have tried
fprintf(txtFile, "%s", "\n");
fprintf(txtFile, "%s", '\n');
fprintf(txtFile, "%s\n", " ");
where txtFile is my FILE handle. How do I create a newline? Thanks.