Databases

This is a discussion on Databases within the C++ Programming forums, part of the General Programming Boards category; Does anyone have any good database programming tutorials, if so, can you post them? And if anyone has database programming ...

  1. #1
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question Databases

    Does anyone have any good database programming tutorials, if so, can you post them? And if anyone has database programming experiance can you give me some basic database, need to know, information?

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    95
    I read in one tutorial you need to learn SQL.

  3. #3
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Question Reply

    What is SQL?

  4. #4
    Ted
    Ted is offline
    Registered User
    Join Date
    Aug 2001
    Posts
    52
    Structured Query Language, a popular computer language used by home computer owners, small businesses, end users in large organizations, and programmers for database management.

  5. #5
    Student drdroid's Avatar
    Join Date
    Feb 2002
    Location
    Montreal, Quebec
    Posts
    669

    Post Subject

    This is kind of getting off subject, though. I'm not asking for a different programming language. But how to program databases using c++. My original question is at the top.

  6. #6
    Registered User
    Join Date
    May 2002
    Posts
    317
    Have you done any programming with linked lists? If not you may want to try it out. That would be a start to being able to program databases. Now do you want to program a database with the data to be used already in mind or something more like Access where you could input virtually anything? (By the way, yes it does make a difference)

  7. #7
    Registered User JoshG's Avatar
    Join Date
    Mar 2002
    Posts
    326
    Could you use SQL within C++? I know you can in PHP and such.

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    194

    Re: Subject

    Originally posted by drdroid
    This is kind of getting off subject, though. I'm not asking for a different programming language. But how to program databases using c++. My original question is at the top.

    A database is just a way to store a lot of information. You can store data in a linked list, a vector (1d array), a matrix (2d array), a binary tree, a heap, a queue, a stack or a hash table.
    Read up on these various data structures, and you will then have some idea how to program a simple database. Each different data structure has different advantages and disadvantages.

    Do you have some type of database in mind, i mean, what type of system do you want and data do you want to store? or is this just a general question.

  9. #9
    Ted
    Ted is offline
    Registered User
    Join Date
    Aug 2001
    Posts
    52
    I know you think we are jerking you around, but RpiMatty is telling you the truth. A C struct or C++ class are the basis for your database. How you search, edit, add, or delete data entries determines the type of data structures and algorithms to use. Its not as simple as asking for a tutorial. Data structures and algorithms is advanced programming normally learned at the junior/senior level of undergraduate computer studies. You can search the web for cites on data structures. There are a few.

    Best recommendation is to enroll in a CS or CIS degree plan.

    hth,

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Concurrent Access and Databases.
    By indigo0086 in forum Tech Board
    Replies: 5
    Last Post: 05-23-2008, 11:39 AM
  2. Databases, and how they work
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 08-14-2003, 10:22 PM
  3. C++ and Databases question
    By RyanPincher in forum C++ Programming
    Replies: 1
    Last Post: 02-04-2003, 08:00 AM
  4. Databases
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 02-22-2002, 10:10 AM
  5. databases and C
    By Garfield in forum C Programming
    Replies: 13
    Last Post: 10-21-2001, 05:03 AM

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