Thread: Memory Management: Swapping in data

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Quote Originally Posted by abachler View Post
    Yes, when you want to swap them, save one to a file, deallocate the memory, then allocate and load the second one.
    Ablacher;
    The quote didn't pick up your sig but it does pose an interesting question at a time when there are a lot of people walking around hand-waving about how tragic things are. I don't agree with you about everything but I do agree with you about this...
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  2. #2
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    They need food, but more critically, they need fuel. They have to run hundreds of trucks, front end loaders, ambulances, cranes, generators for emgergency power, etc.

    Some of that equipment will have to be bought or leased - so more $$$.

    They have lots of sources of food aid (OxFam, etc.), but not many places will send them significant $$$ to run the rescue, the relief, and help rebuild, too.

    When you have a disaster, you want $$$. Try not to be cynical, although it's easy to do it with a place like Haiti.

    // And now, back to the thread !

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By bennywhere in forum C Programming
    Replies: 16
    Last Post: 10-20-2009, 09:00 PM
  2. Question regarding Memory Leak
    By clegs in forum C++ Programming
    Replies: 29
    Last Post: 12-07-2007, 01:57 AM
  3. HUGE fps jump
    By DavidP in forum Game Programming
    Replies: 23
    Last Post: 07-01-2004, 10:36 AM
  4. Memory management
    By CompiledMonkey in forum C++ Programming
    Replies: 9
    Last Post: 12-19-2003, 11:41 AM
  5. gcc problem
    By bjdea1 in forum Linux Programming
    Replies: 13
    Last Post: 04-29-2002, 06:51 PM