Thread: file handling

  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    17

    file handling

    Hi all..
    I'm newbie in this forum.
    I want to program an address book using c. I don't know much about how to create an address book. I want some hint, will anyone give me some link, easy to understand so that i can do it my self.

    Any help will be appreciated.

    Thanking all of you,

    Aash.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Search the board - it's been done before.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Welcome to the forum, Aash.

    Unfortunately:

    1) An address book is a common program, but it's not suited for the raw beginner. To make sense of it's parts, you need to use structs and either an array of those structs, or a linked list of some kind.

    So it winds up being a small, flat file, database, before long.

    2) Rarely do we post up links to code, or code itself, without the OP (original poster), having first put some effort into their own code.

    That stops a lot of "gimmeTheCodezPlez" kind of posters, who would otherwise monopolize our board, and our time.

    Not saying that's what you're doing, just saying that's what happens when we start putting out code to people who have not done anything with coding up their program.

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    17
    Thanks for the replies..
    I'll search in this forum and will post my code soon if i get some troubles in it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory Leak in AppWizard-Generated Code
    By jrohde in forum Windows Programming
    Replies: 4
    Last Post: 05-19-2010, 04:24 PM
  2. Can you help me about tolower() in file
    By nctar in forum C Programming
    Replies: 7
    Last Post: 05-12-2010, 10:04 AM
  3. Creating File Handling Functions
    By td4nos in forum C Programming
    Replies: 6
    Last Post: 06-26-2009, 11:43 AM
  4. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  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