c++ - Creating class of SQLite -
i'm sorry, i'm showing many lines of code have small problem.
take @ code file, you'll see 2 areas marked via comment [1] , [2] (maybe you'll need [3]).
when run program, because console program screen have like:
befor callback: 0  after callback: 0   it should after callback: 99 need.
my question is why doesn't iresult variable change after modify it?
update 1 1st agrument of callback function points (this) pointer (in [3])points to.
thank guys.
when call run_query execute query, assigned result of sqlite3_exec call iresult. overwrites 99 result of query, 0.
Comments
Post a Comment