Thread: files

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    3

    files

    How can I make a program read, receive and work with onfo from a file (Get the program to do some basic operations) and get that to another file? Please just give me the hint, I know obviously the file has to exist, that is I have to create it...

  2. #2
    Registered User
    Join Date
    Sep 2002
    Posts
    417
    Hint:

    #include <fstream.h>

  3. #3
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Check out the tutorial and the Programming FAQ

    You are asking a broad question, so its hard for someone to give a direct simple answer. Study-up on file I/O. Write some code. Then, if you are having problems getting your code to work, post your code with an explanation of the problem you are having.
    Last edited by DougDbug; 05-06-2003 at 11:18 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ressources files
    By mikahell in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2006, 06:50 AM
  2. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 04:45 AM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM