I cannot get rid of the ^M characters at the end of each line when I write a file from my C code. I am writing the application on a PC using Visual 5.0 and viewing the output files on Unix. I have tried the binary call "fwrite" but
the characters end up there anyway. How do I stop this?!
If I write the entire file in binary will that make any difference?