Click here to Skip to main content
15,445,641 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Now, I am currently trying it with using C API libraries. But I am not yet so clear about the concept and logic behind this. Can Anyone here help me by explaining the logic behind this?

What I have tried:

I found that some ways to do that like using ODBC and JDBC. I don't know how to do it embedded SQL concepts.
Posted
Updated 10-Sep-21 7:32am
Comments
Richard MacCutchan 10-Sep-21 6:25am    
Support for databases in C++ is not particularly good. You would be better looking into .NET and C# which has it built in.

This is a Quick Answers forum, not a tutorial or coaching site.

However, you might find the solutions to this post How can I start with database programming in C++ or VC++ without MFC and without any third party library.[^] useful or this article Database Programming with C/C++ | CodeGuru[^]

If you get stuck with a specific problem then do come back with your code and we will try to help, but you have to write the code for yourself
 
Share this answer
 
You may have a look at SQLite[^].
 
Share this answer
 
This article might help : Using C++ to Simplify the Extensible Storage Engine (ESE) API - Part 1[^]. That is the first of two parts.
 
Share this answer
 
There is a set of ADO database objects at here[^] that I used for years when I was stuck in MSVC6 hell until 2017. Search for CADODatabase on this site for more.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900