Hello everyone,
How does one use databases with C++ programs? I have some experience with writing C++ programs, as well as creating/using databases, but I'm not sure how to combine the two.
I'm suppose to make a simple GUI application [most probably using managed C++, Visual Studio] which stores and uses data from my database and help is needed :)
Thanks in advanced!
Emir
Databases and C++
Started by Emir, May 26 2009 11:08 AM
5 replies to this topic
#1
Posted 26 May 2009 - 11:08 AM
|
|
|
#2
Posted 26 May 2009 - 11:12 AM
It will depend entirely on the database API and/or whether you are connecting directly or using ADO. Your GUI can make a difference as well.
The first question would be: what type of database will you connect to?
The first question would be: what type of database will you connect to?
#3
Posted 26 May 2009 - 11:27 AM
Thanks for the quick answer, WingedPanther!
Forgot to mention that :o I was intending to use a relational database [MySQL/Oracle].
Forgot to mention that :o I was intending to use a relational database [MySQL/Oracle].
#4
Posted 26 May 2009 - 11:53 AM
MySQL and Oracle are fairly different. Here's some links that may be useful:
MySQL :: MySQL 5.0 Reference Manual :: 20.12 MySQL C++ API
Oracle Database Online Documentation 10g Release 2 (10.2)
There are also various generic APIs available:
SQLAPI++ - C++ library for accessing SQL databases
SourceForge.net: Simple C++ Database API: Simple C++ Database API
MySQL :: MySQL 5.0 Reference Manual :: 20.12 MySQL C++ API
Oracle Database Online Documentation 10g Release 2 (10.2)
There are also various generic APIs available:
SQLAPI++ - C++ library for accessing SQL databases
SourceForge.net: Simple C++ Database API: Simple C++ Database API
#5
Posted 26 May 2009 - 11:59 AM
#6
Posted 26 May 2009 - 12:02 PM
Lol wingedpanther, i was just about to post after Emir but didin't show that you posted after, i guess we posted at same time?
Ah nvm, my post useless now :P
Ah nvm, my post useless now :P


Sign In
Create Account

Back to top









