#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Posts
    3
    Rep Power
    0

    Question interfacing sql with c++


    Hi everybody,
    i wanted to ask if there is any possible way to interface or rather to write an sql code within a c++ program, if there is any possible header file that can be included or something (by the way i'm using a linux platform)
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,255
    Rep Power
    2222
    Check out MySQL at http://www.mysql.com/ . In their downloads section, there's a MySQL++ library which provides a C++ API. The source distribution is also provided as per the LGPL ("lesser GPL").

    If you're using MySQL, this would be a shoo-in. If not, then it should at least give you some ideas.

IMN logo majestic logo threadwatch logo seochat tools logo