Not off topic, but i'm confused about why you explicitly need C++ for that."
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. Don Ireland -----Original Message----- From: Stephan Beal <sgb...@googlemail.com> To: General Discussion of SQLite Database <sqlite-users@sqlite.org> Sent: Sun, 15 May 2011 5:12 AM Subject: Re: [sqlite] C++ Sample Code On Sun, May 15, 2011 at 11:39 AM, Don Ireland <sql...@donireland.com> wrote: > Thanks for taking the time to respond. But I'd prefer to learn to use > SQLite. Then use sqlite's API. Why require C++? sqlite's API can be used just fine from C++ programs. > If I use one of these wrappers, I have to depend on someone to maintain it > anytime SQLite is updated. And from what I can tell, the last update to the > wrapper code was I n 2007. > If it ain't broken, don't fix it :). > Just as an example, I'm currently looking for a sample that explains > iterating through selected data. But next it could be a diff topic. > Not off topic, but i'm confused about why you explicitly need C++ for that. Surprisingly (to me), despite sqlite3's being in every device on the planet nowadays, it is remarkably difficult to find useful sample code. Here's one i finally dug up which chows how to iterate over a result set: http://www.sqlite.org/cvstrac/wiki?p=SimpleCode -- ----- stephan beal http://wanderinghorse.net/home/stephan/ _______________________________________________ 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