Thread: Saving

  1. #1
    Registered User ZachariahLee's Avatar
    Join Date
    Feb 2003
    Posts
    3

    Saving

    This really isn't part of my project, but I want to add a save function to my program. I am using structures, and want to be able to save what is inputted, and edit it later. Does it have to be a .exe type file? We use the standard C++ for class purposes. I am just tired of writing programs you have to reenter everything every time you open it. I did look in the book we use and see nothing. Thanks for your time.

    Zachariah

  2. #2
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    This is a C# board, not a C++ one. Go to the other board.

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Moved.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    stovellp
    Guest
    We dont want it! Take it back!

    Nah Just Kidding.

    Look up FSTREAM - file input/output. Also, read the tutorial on this site on File I/O. That has most of the basic stuff you will need to know.

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    1,640
    Input and edited? Be more clear! You want to save it to a file?
    Or just in the memory for a spell?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New to C++ problem saving files
    By wesm in forum C++ Programming
    Replies: 2
    Last Post: 11-02-2005, 02:00 PM
  2. Replies: 2
    Last Post: 06-16-2005, 10:03 AM
  3. saving a binary tree??
    By fayte in forum C++ Programming
    Replies: 9
    Last Post: 01-27-2005, 01:32 PM
  4. Saving vectors of structures problem
    By redeck in forum C++ Programming
    Replies: 4
    Last Post: 12-09-2004, 04:47 PM
  5. File saving problem in DevC++ pls help ???
    By intruder in forum C Programming
    Replies: 3
    Last Post: 12-17-2002, 01:17 AM