save yourself

This is a discussion on save yourself within the Game Programming forums, part of the General Programming Boards category; lets say i have a linked list and want to save it into a file, is there a way to ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    4

    save yourself

    lets say i have a linked list and want to save it into a file, is there a way to save the entire struct of all of them and when it is loaded again, it is like it was when you saved it?

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    Yes.



    Simply traverse the list, output all the variables to a text file.. output nessicary seperation methods, output more variables etc.

    Sorry I can't give you any code, I'm kinda in a rush.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Save vs Save As.... OPENFILENAME flags
    By csonx_p in forum Windows Programming
    Replies: 16
    Last Post: 06-01-2008, 03:42 PM
  2. Replies: 2
    Last Post: 05-09-2008, 08:27 AM
  3. save and save as functions
    By willc0de4food in forum Windows Programming
    Replies: 2
    Last Post: 06-29-2005, 03:49 AM
  4. save webpage? some save some not
    By kryptkat in forum Tech Board
    Replies: 3
    Last Post: 06-07-2005, 10:21 AM
  5. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21