On 12 Sep 2012, at 6:31pm, Arbol One <arbol...@gmail.com> wrote: > Look, Sir, I appreciate that you have spend your time and energy responding > to my question, in fact, I have used your suggestion to have a look at the > other guys' C++ wrappers of the SQLite3 library, but my intention is to > learn SQL using the SQLite3 API.
Now that you understand the basics of the SQLite API I think you might be at a good stage to read through the documentation on the SQLite site. For instance, if you read <http://www.sqlite.org/c3ref/stmt.html> you will learn that it is necessary to call _step() multiple times after calling _prepare() once. So go read through /all/ of it, not necessarily every word but definitely every page, making notes as you read about which pages are going to be useful once you go back to programming again. One thing I'll point out is that you should handle the result codes returned by /every/ call to the API. This not only helps your wrapper to handle errors properly but will help you detect problems while you're writing your wrapper. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users