On windows, how can I write the (multi)char 0x0A (which is \n)
without getting 0x0D 0x0A but only 0x0A eg 10 decimal ?
On windows, how can I write the (multi)char 0x0A (which is \n)
without getting 0x0D 0x0A but only 0x0A eg 10 decimal ?
If 0x0D is what I think it is - carriage return - try opening the file in binary mode.
kooma - [email protected]
If fputc( 10, fptr ); does not work (and I suspect it will), this may be a 'feature' of the OS. Try your question on the Windows forum; I'll bet those guys will know the answer.
Jason Deckard