Can I use SQL in C++?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shady2
    New Member
    • Apr 2014
    • 6

    Can I use SQL in C++?

    NEED HELP..!!!
    Guys I have been given a project to create a C++ program to manage staff of a school. I can Do the programming part But I wanted to know that is there any way through which I can use SQL in my program. Because, you know, storage and usage of data is way easier in SQL. So is it possible? If yes, How?

    Thanks.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Most SQL implementations have a C++ library you can use.
    Oracle has ProC where you put macros in your C++ code that are expanded at build time to C code that talks to Oracle.

    Comment

    Working...