473,396 Members | 1,900 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

What method of DB access is best from c++?

I'm just coming back to C++ from a very long stint with VB. In VB I used
ADO to access databases.
Visual C++ supports ADO and a plethora of other methods. I'm trying to
streamline my nasty learning curve and focus on the best method. I'm trying
to focus on standard c++ because I would like to use what I learn in Linux.
So does anyone have suggestions for the best database access methods? I
should mention that I want my DB access not to be restricted to DB type, so
I'm looking for the most generic method for say SQL, Access or Oracle, maybe
even Postgressql.

Thanks
--
Mark Twombley
diaganos(numeric)one at shaw dot ca
eg. bo**@nowhere.com
"Say No to Spam"
Jul 22 '05 #1
4 1965
Hi,

"Mark Twombley" <ju**@shaw.ca> wrote in message
news:YYmEb.745014$6C4.733724@pd7tw1no...
I'm just coming back to C++ from a very long stint with VB. In VB I used
ADO to access databases.
Visual C++ supports ADO and a plethora of other methods. I'm trying to
streamline my nasty learning curve and focus on the best method. I'm trying to focus on standard c++ because I would like to use what I learn in Linux. So does anyone have suggestions for the best database access methods? I
should mention that I want my DB access not to be restricted to DB type, so I'm looking for the most generic method for say SQL, Access or Oracle, maybe even Postgressql.

Thanks
--
Mark Twombley
diaganos(numeric)one at shaw dot ca
eg. bo**@nowhere.com
"Say No to Spam"


Maybe have a look at OTL it is a template library it supports a few database
(but certainly not all).

http://otl.sourceforge.net
Regards, Ron AF Greve
Jul 22 '05 #2
embedded sql?

"Mark Twombley" <ju**@shaw.ca> wrote in message
news:YYmEb.745014$6C4.733724@pd7tw1no...
I'm just coming back to C++ from a very long stint with VB. In VB I used
ADO to access databases.
Visual C++ supports ADO and a plethora of other methods. I'm trying to
streamline my nasty learning curve and focus on the best method. I'm trying to focus on standard c++ because I would like to use what I learn in Linux. So does anyone have suggestions for the best database access methods? I
should mention that I want my DB access not to be restricted to DB type, so I'm looking for the most generic method for say SQL, Access or Oracle, maybe even Postgressql.

Thanks
--
Mark Twombley
diaganos(numeric)one at shaw dot ca
eg. bo**@nowhere.com
"Say No to Spam"

Jul 22 '05 #3
On Thu, 18 Dec 2003 19:10:48 GMT
"Mark Twombley" <ju**@shaw.ca> wrote:
I'm just coming back to C++ from a very long stint with VB. In VB I
used ADO to access databases.
Visual C++ supports ADO and a plethora of other methods. I'm trying
to streamline my nasty learning curve and focus on the best method.
I'm trying to focus on standard c++ because I would like to use what I
learn in Linux. So does anyone have suggestions for the best database
access methods? I should mention that I want my DB access not to be
restricted to DB type, so I'm looking for the most generic method for
say SQL, Access or Oracle, maybe even Postgressql.


Use www.wxwindows.org

br
socketd
Jul 22 '05 #4
Hello,

ODBC defines set of industry adopted standard APIs for accessing
Databases in many languages which includes C and C++ also.

Regards
GK
Jul 22 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

26
by: Chris Lasher | last post by:
Hello, I have a rather large (100+ MB) FASTA file from which I need to access records in a random order. The FASTA format is a standard format for storing molecular biological sequences. Each...
0
by: chris | last post by:
Hi, I have already post this question but i still wonder which is the best method for connecting Access with PHP. I know that Access is not the ideal database, but for some reason i have to do...
24
by: Jazper | last post by:
hi i have this problem. i made a class deverted by CRootItem with implementation of IDisposable-Interface. i made a test-funktion to test my Dispose-Method.... but when set a breakpoint in my...
3
by: Peted | last post by:
Hi i hope i explaine this correctly I have a class with a method that reads and writes using blocking sockets to a TCP device. Call it class IPdevice. I can use this method to send commands and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.