Arbol One <[email protected]> wrote:
> //2 . ) create a table
> sqlite3_stmt** stmt;

Which part of "sqlite3_stmt* stmt;" did you find unclear?

> std::string create_table("CREATE TABLE friend (name TEXT, address TEXT, age 
> INT)");
> rc = sqlite3_prepare_v2(
> db, /* Database handle */
> create_table.c_str() , /* SQL statement, UTF-8 encoded */
> create_table.length(), /* Maximum length of zSql in bytes. */
> stmt, /* OUT: Statement handle */

Which part of "pass &stmt" did you find unclear?
-- 
Igor Tandetnik

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to