SQLite Forum

how to include sqlite3 in C/C++ code in linux?
Login

how to include sqlite3 in C/C++ code in linux?

(1) By anonymous on 2020-11-15 15:07:13 [link] [source]

I have installed sqlite3 via Terminal in my Debian Buster it is installed as /usr/bin/sqlite3 but i don't know how to include <sqlite3> header in my C/C++ file and how to get this header. and how to link with sqlite library. i am new to linux please help me.

(2) By Larry Brasfield (LarryBrasfield) on 2020-11-15 15:51:15 in reply to 1 [source]

Look under "Sources" in the download page. Download the amalgamation. Then study How to Compile SQLite.

Another tip: Spend some time with the Documentation where you could have easily found the above information.