Paul,

> Greetings all,
>
> I'm putting together a small test program based on some code I found in
> "C/C++ Users Journal".  The original code was in sqlite2, and I'm using
> sqlite3.  I'm having a couple of issues with the sqlite3_stmt definition
> and its use in sqlite3_prepare and sqlite3_step.  Does anyone have a small
> example that I could refer to?  I would greatly appreciate it.
>
> Thanks,
>
> Paul

The src/shell.c program in the SQLite distribution serves such a purpose.

Otherwise, for a smaller example, you can look at my Emdros project, which
is under the GPL:

http://emdros.org/preview/index.php?dir=&file=emdros-1.2.0.pre79.tar.gz

You'll want to concentrate on EMdF/sqliteconn.cpp and EMdF/conn.cpp (the
header files are include/sqliteconn.h and include/conn.h)

HTH

Ulrik P.

-- 
Ulrik Petersen, Denmark


Reply via email to