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

Thread: mapped files

  1. #1
    Join Date
    Oct 2001
    Posts
    8

    mapped files

    what are the advantages of memory mapped files over conventional file i/o ?

    Thanks in advance for any information regarding this

    No body walks alone

  2. #2
    Join Date
    Sep 1999
    Location
    NJ
    Posts
    1,299

    Re: mapped files

    They tend to be fastest, particularly when you have a very large file.
    They let you work the standard pointers, instead of file read & write fucntions.
    Any function that works with chr* (strlen, STL etc) can work directly on the file.

    Truth,
    James
    http://www.NJTheater.com
    http://www.NovelTheory.com
    I don't do it for the points (OK, maybe I do), but rating a post is a good way for me to know if I helped.

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