C++ & Sqlite3

This is a discussion on C++ & Sqlite3 within the Windows Programming forums, part of the Platform Specific Boards category; After I made a post asking about databases someone pointed me to Sqlite3 which I'm very interested in trying... But ...

  1. #1
    Registered User
    Join Date
    Oct 2008
    Posts
    98

    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

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,794
    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.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Oct 2008
    Posts
    98
    Quote Originally Posted by laserlight View Post
    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

    As for the The Definitive Guide to SQLite I'll definitely check it out, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. SQLite not performing update
    By OnionKnight in forum C Programming
    Replies: 0
    Last Post: 01-21-2009, 03:21 PM

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