Solved

Please recommend a good database programming book for C++

Posted on 1998-10-11
10
220 Views
Last Modified: 2010-05-18
I want to write a database class.  What's a good,
thorough book on databases?

-- J
0
Comment
Question by:jotjot
  • 5
  • 2
  • 2
  • +1
10 Comments
 
LVL 6

Expert Comment

by:snoegler
ID: 1174830
Why don't you simply write a wrapper class for ODBC?
You are going to have the problem of compatibility ... and i think it is hard to compete in speed
with the ODBC drivers ( they can even set up on SQL Server ), so maybe this is a one-way
solution.
0
 

Author Comment

by:jotjot
ID: 1174831
I'm completely new to this... not sure what a wrapper class is....

I have a specific project -- to write a class that manages a key-indexed database file.
Key is 15-char ASCII string and value is the number of data bytes associated with
the string. The methods are will basic ones.  

Since I've never written for a database, I just have no idea of how it is conventionally
handled.  So I'm looking for sources of information so I can get oriented.

-- J
0
 

Author Comment

by:jotjot
ID: 1174832
I forgot to mention -- a file management class is supplied to me.

-- J
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 6

Expert Comment

by:snoegler
ID: 1174833
Is this for an assignment? If yes, then of course you have to write your own implementation of
a database class. Sorry, but i can't supply you with information about a good book which
explains this. I only know a german book, and i think this won't help you.
0
 

Author Comment

by:jotjot
ID: 1174834
Ok, fair enough....

Anyone else have any ideas?

-- J
0
 
LVL 5

Expert Comment

by:yonat
ID: 1174835
"An Introduction to Database Systems" by C.J. Date, ISBN 020154329x.
0
 

Author Comment

by:jotjot
ID: 1174836
I appreciate this recommendation, because I want books that give me a real
foundation.  However, at this time, I don't think I can handle this book.  For example,
I am curently studying from Cormen's Intro to Algorithms, and working hard
to get the concepts.  I don't think I'm ready yet for Date's book.  But I'll
remember it for later.

Is there something good but less theoretical that I can start with?

-- J
0
 
LVL 3

Expert Comment

by:NullTerminator
ID: 1174837
From a learning point of view about indexed databases, ISAM's, go to a book store outlet that has a lot of out of date books and get an OLD book on dBase,  version III+ or IV.  dBase is basically an indexed flat file system with which you can build relational systems.

To learn lots about keys and such, I'd recommend the CDatabase Toolkit from MIX software.  I bought their toolkit a few years ago and the book that came with it was worth twice the price of the software.  I hope it still is.

'\0'


0
 

Author Comment

by:jotjot
ID: 1174838
OK, thank you, NullTerminator!  Please lock this question so I can award you the points.

-- J
0
 
LVL 3

Accepted Solution

by:
NullTerminator earned 200 total points
ID: 1174839
Your welcome
'\0'
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
returning a dereferenced pts in C++ 10 149
TCP/IP Socket - connection close results in data lost 14 133
Embarcadero C++ Builder XE2 TDateTime 8 70
thread-safe code in c++ 2 100
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question