Database programming in C

This is a discussion on Database programming in C within the C Programming forums, part of the General Programming Boards category; Hey folks! I have to do a project in the school and there I must implement (!) a database in ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,668
    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, 11:34 AM
  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, 09:17 PM

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