Originally posted by Marc G
Note: I only speak about Windows.
If you have a text file, then each line should end with \r\n or \n.
When you open a text file in text-mode, each \n will be replaced with \r\n. When you open the file in binary-mode, no such conversion takes place. Conclusion: When you do not want conversions to happen behind your back, open the file in binary. Because you said you wanted to split the file in 2 and then merge them back in one, you want the resulting file to be exactly like the original, don't you. Therefore open the file in binary, and no conversion will take place.
(ha)^n.(n->infinity)
I mean I laugh alot, now I know about binary mode, but actually I dont care about conversions.
Thanks so much for your help, I will try to remember all of what you said...
Regards,
Fiona
I care about this, no matter HOW and what it is, just think I am guilty and from now I gotta do something to repay...That cant be but another different form can ...<--If you dont understand, forget it, I want that reader to undestand this and that s all !!!
Last edited by Homestead; January 3rd, 2004 at 02:28 PM.
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.