Subj : ofstream To : borland.public.cpp.borlandcpp From : John Date : Thu Sep 08 2005 12:12 pm I'm trying to play with some binary files, and having a little problem. When I put a byte into my output file everything is fine unless the byte is 0x0a. When I put an oa, I get an 0d 0a in my output file. (I know, carrage return and line feed, but I'm not working with ASCII.) Thanks for the help, John .