using external files

This is a discussion on using external files within the C++ Programming forums, part of the General Programming Boards category; hi! iv'e got a question. how would you make a program so that the user can edit variables, which are ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    26

    using external files

    hi!

    iv'e got a question.

    how would you make a program so that the user can edit variables, which are saved after you close the program so say it said enter A: and you entered a then closed the program how could you save the variable for when you open the program again?

    thanks

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Many different ways. Most of them involve files of some kind, so read up on file I/O.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Installing Direct X
    By bumfluff in forum Game Programming
    Replies: 36
    Last Post: 11-15-2006, 06:18 PM
  3. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  4. Music in C++ and external files
    By yucaplan in forum C++ Programming
    Replies: 1
    Last Post: 05-20-2005, 11:00 AM
  5. Problem with OpenGL tutorial
    By 2Biaz in forum Windows Programming
    Replies: 18
    Last Post: 09-16-2004, 11:02 AM

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