C++ & Sqlite3
After I made a post asking about databases someone pointed me to Sqlite3 which I'm very interested in trying...
But the documentation is a bit sparse for a beginner to simply understand...
I've spent a few hours googling for tutorials, examples, and such for using sqlite3 in C++... but the pickings have been very thin. I'm looking for a babysteps kind of thing. It introduces a very basic way of opening a database and maybe inserting one thing then printing it... etc...
If anyone has a site they know of that kind of goes in that direction or some kind of resource recommendation, I would be infinitely appreciative :)
Are you able to understand the quickstart example? Unfortunately, it is not very good since the use of prepared statements tends to be more common.
I suggest borrowing the book The Definitive Guide to SQLite from your local library. It is not updated with the latest changes to the API, has a horrible index, but other than that it is the definitive guide to SQLite 3.
Admittedly, I am working on a C++ wrapper to SQLite 3, but as usual, I never finish anyth.
Ah yes I understand the quick start example pretty well. I was looking at strictly C++ documentation on the site I think I might of skipped over that bit because I can definitely understand what is happening there :)
Originally Posted by laserlight
As for the The Definitive Guide to SQLite I'll definitely check it out, thanks.