Re: [sqlite] C++ programming - sqlite3_column() question

2012-06-18 Thread Pavel Ivanov
Function sqlite3_column_count() returns number of columns in your SELECT statement. For all other statements it returns 0. Pavel On Mon, Jun 18, 2012 at 7:35 AM, Arbol One wrote: > After creating a database, I, now, would like to create a table called > 'friend', but

Re: [sqlite] C++ programming - sqlite3_column() question (doc flaw?)

2012-06-18 Thread Larry Brasfield
After creating a database, I, now, would like to create a table called 'friend', but for some reason 'sqlite3_column()' reports zero. What elese do I have to do to have the table created, this is what I have so far done. int main() { sqlite3 *db; // Data Base sqlite3_stmt* stmt; int rc; //

[sqlite] C++ programming - sqlite3_column() question

2012-06-18 Thread Arbol One
After creating a database, I, now, would like to create a table called 'friend', but for some reason 'sqlite3_column()' reports zero. What elese do I have to do to have the table created, this is what I have so far done. int main() { sqlite3 *db; // Data Base sqlite3_stmt* stmt; int rc; //