Re: [sqlite] how can i get values from sqlite db?

2008-07-18 Thread Mihai Limbasan
kriscbe wrote: > Thanks Mihai for u r response. > > with the help of sqlite3_prepare,sqlite3_step,sqlite3_column_int() functions > i am getting the values in my c++ program. > i will try u r way also(for the time being not executed it now)after trying > that i will send my response > If you're

Re: [sqlite] how can i get values from sqlite db?

2008-07-18 Thread kriscbe
Thanks Mihai for u r response. with the help of sqlite3_prepare,sqlite3_step,sqlite3_column_int() functions i am getting the values in my c++ program. i will try u r way also(for the time being not executed it now)after trying that i will send my response thanks krishcbe Mihai Limbasan wrote:

Re: [sqlite] how can i get values from sqlite db?

2008-07-17 Thread kriscbe
more clearly in my c++ program: int value = sql.exe("select counter form tbl1 where name = 'accept'"); in this sql.exe is my function which invokes the "sqlite3_exec" function i want that counter value into the "value" variable . kriscbe wrote: > > hi everyone, > > i am using linux. > i