Thread: Database programming in C

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

    Arrow Database programming in C

    Hey folks!

    I have to do a project in the school and there I must implement (!) a database in C. Does any of you guys know how I could make this work???!!!! I'm so noob in these things and so please help me!

    thanks

  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
    Code:
    typedef struct {
      char name[100];
    } data_st;
    This is your data structure

    Code:
    data_st database[1000];
    This is your database

    You add
    - code to dynamically allocate the database, rather than limiting it to 1000
    - code to load and save to a file
    - code to add / edit / print / delete / search records

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. literature database: help with planning
    By officedog in forum C++ Programming
    Replies: 1
    Last Post: 01-23-2009, 12:34 PM
  2. Creating a database
    By Shamino in forum Game Programming
    Replies: 19
    Last Post: 06-10-2007, 01:09 PM
  3. Replies: 10
    Last Post: 05-18-2006, 11:23 PM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 04:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM