A
ArbolOne
#define SQLITE_ROW 100 /* sqlite3_step() has another row ready */
#define SQLITE_DONE 101 /* sqlite3_step() has finished executing */
rc = sqlite3_step(stmt);
if (rc != (SQLITE_DONE) || (SQLITE_ROW)){
std::cout << "Error " << rc << std:;endl;
}
having looked at the snip above, can any one tell me why this program would display:
Error 100
??
Thanks!
#define SQLITE_DONE 101 /* sqlite3_step() has finished executing */
rc = sqlite3_step(stmt);
if (rc != (SQLITE_DONE) || (SQLITE_ROW)){
std::cout << "Error " << rc << std:;endl;
}
having looked at the snip above, can any one tell me why this program would display:
Error 100
??
Thanks!