Home  +  Forums  +  C++ and Sockets  +  C++ and SQL: MySQL, sqlite, ODBC  +  Miscellaneous Projects

~ C++ ~

SQL / C++ Tutorial using sqlwrapped

1. Introduction

NextIndex This tutorial can use either one of the mysqlwrapped or sqlite3 wrapped libraries. Both are supposed to be interchangeable with a few minor modifications. Sqlite3 is a file based embedded database which makes it easier to setup. The database used in this tutorial will be named tutorialdb (or tutorial.db for sqlite3). The SQL to create the database tables used in this example are as follows. All source code examples listed in the tutorial does not include the header file for each respective database. The examples in the downloadable sql_cpp_tutorial-src.tar.gz are complete with all necessary #include's though.
Page, code, and content Copyright (C) 2013 by Anders Hedström
"A hacker does for love what others would not do for money."