CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1

    Random files are always opened in binary format?

    Pl clarify if random files are always opened in binary format?
    Sequential files are opened in text format?

    Are there any advantages of sequential mode over random mode?

  2. #2
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    Re: Random files are always opened in binary format?

    The only difference between binary format and text format on Windows is whether end-of-line conversions are done ("\r\n" --> "\n" for reading, vice versa for writing).

    On Unix there is no difference.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured