Don, I think Simon answered your question. To back up Simon's statements below, the C functions shown at ../quickstart.html are compiled nicely by any C++ compiler. I use Codegear C++ Builder and the amalgemation compiles without a single error or warning (I am impressed). SPEAKING of C++ compilers, the biggest trick is supplying a callback function to sqlite3_exec() WITHIN a class. I know of one example found at www.bcbjournal.org.
Steve. On 5/15/2011 10:08 AM, Simon Slavin wrote: > On 15 May 2011, at 3:58pm, Don Ireland wrote: > >> I never said I need C++ not C. I asked for sample code for use in C++. If C >> code will work just fine then sample C code would be fine and dandy with me. > See the end of > > http://www.sqlite.org/quickstart.html > > after that, Google on 'sqlite c sample code'. > > Simon. > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users