Thread: how do you read from file

  1. #1
    Unregistered
    Guest

    Unhappy how do you read from file

    hi,

    how do you write a program to prompt the users for a file name to be read from. Then you have to read in names.

    If anyone know please let me know.

    thanks

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    No, I think, _YOU_ have to do this, because....

    It's HOME WORK! (Surprise, surprise.)

    Read the FAQ. Read the "READ THIS". No, we won't do your homework for you. Yes we will usually be helpful if you actually post some code as to what you're trying to do. Surely you must have some idea on how to start on this.

    Quzah.

  3. #3
    Registered User Twiggy's Avatar
    Join Date
    Oct 2001
    Posts
    43
    Uh-OH! Busted!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting the contents of a text file
    By dagorsul in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2008, 12:36 PM
  2. help with text input
    By Alphawaves in forum C Programming
    Replies: 8
    Last Post: 04-08-2007, 04:54 PM
  3. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  4. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 10:57 AM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM