How can I attach a carriage return line feed to my C code so that when I look at the file that is produced by this code I can distinguish between sentences?
How can I attach a carriage return line feed to my C code so that when I look at the file that is produced by this code I can distinguish between sentences?
write and read to a text file as you would to the display
fprintf(f_ptr, "%s\t%s\n", name, address);
fprintf will write to file as to display...
fscanf(f_ptr, "%s\t%s\n", name, address);
fscanf will read the tab and new line but discard them and file pointer moves to next line.
hoping to be certified (programming in c)
here's the news - I'm officially certified.