Discussion Locked

access database with C++ in linux

0 helpful
0 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

Q:"What is the Best way to access database with C++ in linux ?"

I wanted to access Database from C++ in Linux.

I am currently using :

libpqxx of PostgreSQL under c++ (gcc).

but i wanted to use:

unixODBC/iODBC with any database..
but then i have to use some c++ database library like :

DATABASE template library (DTL)
http://dtemplatelib.sourceforge.net/dtl_introduction.htm

or
libODBC++/FreeODBC++
http://orcane.net/freeodbc++/

DTL is too complicated to use and documented poorly !!

and libODBC++ doesn't compile properly
and it's interface also looks complicated and poorly documented..

libpqxx of PostgreSQL works great ! ...
but i am kinda limited to one database platform...

Please advice me , if you know any better solution.

Thanks for your time .

0 replies

No replies were posted before this discussion closed.

This discussion is closed to new replies.