Hi to all,
I am new to sqlite and c++ also. I have download the latest source code of amalgamation from sqlite.org and i added the two files of the four into my app (sqlite3.h and sqlite3.c) I have manage to connect use and run anything i liked within my app with sqlite3 and its very easy indeed. I have some missknowledge though and i can`t do by my own some small modifications that i need into my c++ app I can`t define or use this PRAGMA option and especially i want for example to enable the PRAGMA secure_delete = true; I don`t know where or what should i do with this line of code cause by entering it as it is in my main.cpp it doesn`t do anything and has errors. I have tried also with different ways such as SQLITE_SECURE_DELETE = true; #define SQLITE_SECURE_DELETE = true; #define SQLITE_SECURE_DELETE secure_delete = true; #pragma SQLITE_SECURE_DELETE secure_delete = true; No matter how i tried it ends up with errors in my main.cpp or with no secure delete to true, the database after deleting values doesn`t replace with 0. Can anyone give me an example on how and where to use it ?