> On Aug 26, 2017, at 6:34 PM, Papa <p...@arbolone.ca> wrote: > > class SQLite3_RDB { > private: > sqlite3* db; //!< Data Base > std::string database_name; > public: > SQLite3_RDB(); > ~SQLite3_RDB(){sqlite3_close(db); } > }; > SQLite3_RDB::SQLite3_RDB(){ > databese_name.assign("information.sql3db"); > rc = sqlite3_open(databese_name.c_str(), &db); > std::cout << "RC: " << rc << std::endl; // ==> RC: 14 > }
This code has typos in it — it can't possibly compile as given here. (The variable 'databese_name' is never declared, due to a typo.) If you want us to help debug your code, you have to copy and paste the code EXACTLY instead of trying to type it in by hand. —Jens _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users