Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Persisting STL containers to disk

Persisting STL containers to disk

Scheduled Pinned Locked Moved ATL / WTL / STL
c++comgraphicsperformancequestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jeremy Pullicino
    wrote on last edited by
    #1

    Hi, I have a vector of classes. I would like to write the entire vector to disk I would like then load the entire vector back into memory. And idea of the best way to do this? Jeremy Pullicino C++ Developer Homepage

    T V 2 Replies Last reply
    0
    • J Jeremy Pullicino

      Hi, I have a vector of classes. I would like to write the entire vector to disk I would like then load the entire vector back into memory. And idea of the best way to do this? Jeremy Pullicino C++ Developer Homepage

      T Offline
      T Offline
      Todd Smith
      wrote on last edited by
      #2

      http://www.codeproject.com/soap/zxmlparser.asp?target=%2Bdetermine%7C%2Bxml%7C%2Btemplate Todd Smith

      J 1 Reply Last reply
      0
      • J Jeremy Pullicino

        Hi, I have a vector of classes. I would like to write the entire vector to disk I would like then load the entire vector back into memory. And idea of the best way to do this? Jeremy Pullicino C++ Developer Homepage

        V Offline
        V Offline
        valikac
        wrote on last edited by
        #3

        One solution is STL std::copy(). Kuphryn

        1 Reply Last reply
        0
        • T Todd Smith

          http://www.codeproject.com/soap/zxmlparser.asp?target=%2Bdetermine%7C%2Bxml%7C%2Btemplate Todd Smith

          J Offline
          J Offline
          John M Drescher
          wrote on last edited by
          #4

          Looks like a good idea to me. I'll give that a try. Thanks for the link. John

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups