Saving...

This is a discussion on Saving... within the C++ Programming forums, part of the General Programming Boards category; Hi. I want to make a simple console program where the user enters in values and then after done using ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    11

    Saving...

    Hi. I want to make a simple console program where the user enters in values and then after done using program get an option asking if the user wants to save the values entered into the database. What functions would I have to use to save values entered in the exe?

  2. #2
    *this
    Join Date
    Mar 2005
    Posts
    498
    well you would need to save the values to a file, then you can reload them when you start the program.

    Use the header: #include <fstream>

    check faq for answers to how to use this header file, and how to get data from a file and to output to one.

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, 01: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, 12:32 PM
  4. Saving vectors of structures problem
    By redeck in forum C++ Programming
    Replies: 4
    Last Post: 12-09-2004, 03:47 PM
  5. File saving problem in DevC++ pls help ???
    By intruder in forum C Programming
    Replies: 3
    Last Post: 12-17-2002, 12:17 AM

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