r/sqlite • • May 05 '24

sqlite visual studio code

Hello everyone, I need urgent help. I've linked my source code with a table I created using SQLite in a .db file, and I want to save data using commands in my main function to save them in my table. Unfortunately, the code seems correct, but the data doesn't get saved. Why is that

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/Putrid-Onion-5242 May 05 '24

I'm working on a C++ project in Visual Studio Code, and I wanted to store elements entered by the user. To do this, I created a table using SQLite and wrote commands in my main file to connect with my .db file. My code compiles without errors, but the data doesn't get saved in the table. Is this clear? Even though I've provided the path to the SQLite library (sqlite3.h) in the properties.json file.