DO I need to wrap SQLite(http://www.sqlite.org/) library calls in my C++ application as :
extern "C" {
//Wrapping SQLite C header
#include "sqlite3.h"
// Some example function definitions
int sqlite3_open(const char *filename,sqlite3 **ppDb);
void sqlite3_free(void*);
int sqlite3_close(sqlite3*);
}
Or can I access the library directly (as most examples show in the website)? Would also love to know the reason behind the right answer.
Aucun commentaire:
Enregistrer un commentaire