Database

This is a discussion on Database within the C++ Programming forums, part of the General Programming Boards category; Hello all, i need some help with databases, want to learn how to create them. Does anyone have a tutorial ...

  1. #1
    Registered User
    Join Date
    Sep 2002
    Posts
    72

    Database

    Hello all, i need some help with databases, want to learn how to create them. Does anyone have a tutorial site that i could go to to learn how to create a simple database. Also, if anyone has a sample of a database, could they post it so i could take a look. Thanks

  2. #2
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Writing a DB is a very complicated task. First you must decide how you want your DB to behave, is it for single user or multiple users at once? Is it going to use SQL or some proprietary query language? Either way you need to write an interpretor for reading in the querys and to parse them, you need to either use an existing DB file format or create your own, you must have a file management system, and so on. Why not just program a front end and use something like MySQL in the background, just have your app interface with it?
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  3. #3
    Registered User
    Join Date
    Sep 2002
    Posts
    72
    i just want to create a small database with:

    name
    average mark
    age
    birthdate

    .

    then i want the to be able to add records, delete records, find the people with above 80 mark, people over 19, things like that.

  4. #4
    Registered User
    Join Date
    Sep 2002
    Posts
    72
    just a program, not a high tech thing like something that would be for sale.

  5. #5
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    well write a prog. that keeps a file, read in the file, parse the recods and then search through them, not a complicated task, just look up file reading/writing and parsing.
    "only two things are infinite, the universe and human stupidity, and im not sure about the former." - albert einstein

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    72
    any chance you know where to find a beginners tutorial for databases. Cant seem to find one anywhere

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, 02:09 PM
  3. Replies: 10
    Last Post: 05-19-2006, 12:23 AM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 05:06 PM
  5. Making a Simple Database System
    By Speedy5 in forum C++ Programming
    Replies: 1
    Last Post: 03-14-2003, 10:17 PM

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