SQLite Insert Statement with C++
问题 Below is the code I have tried on a test2.cpp I checked my database and found out no new record had been added. What actually went wrong in my statement? #include <iostream> #include <sqlite3.h> //g++ -o test2 test2.cpp -lsqlite3 using namespace std; int main() { int counter = 0; sqlite3 *db; sqlite3_stmt * stmt; string username = "panda"; string name = "Kungfu Panda"; string department = "normal"; string password = "hellopassword"; string sqlstatement = "INSERT INTO abe_account (" + username