cannot convert 'std::string' to 'const char*' for argument '2' to 'int sqlite3_exec(sqlite3*, const char*, int (*)(void*, int, char**, char**), void*, char**)'| |
|
|
const char*
and you're trying to feed it a string
.rc = sqlite3_exec(db, s4 , callback, 0, &zErrMsg);
s4
? That should be a const char*
. Not a string
.
|
|