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?
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?
I read in one tutorial you need to learn SQL.
Structured Query Language, a popular computer language used by home computer owners, small businesses, end users in large organizations, and programmers for database management.
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.
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)
Could you use SQL within C++? I know you can in PHP and such.
gcc -lalleg
http://www.ciusa.net/~jrgrant/
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.
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,