DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Beginner's questions: C++ and databases (http://www.daniweb.com/forums/thread13666.html)

Rasmo Nov 7th, 2004 9:51 pm
Beginner's questions: C++ and databases
 
Hi all,

I'm a total beginner at C++, and I'm planning on trying out by writing a small, text-based game with a command line.

The game has different areas which are described in pure text, and I guess a good solution to put all the pure data (descriptions and so on) in a database.

Some questions:
* Is it hard to make a small system for retrieving (and maybe writing) data from a database to a console app?
* What database system is the easiest/best for this type of application??
* Oh, and all other tips and tricks on the subject would be appreciated.

Thanks in advance,
Rasmus

Xnoudas Nov 9th, 2004 7:21 am
Re: Beginner's questions: C++ and databases
 
Try using ADO (ActiveX Data Objects) with most commonly used the OLE DB Provider for ODBC Drivers, which exposes ODBC Data sources to ADO.

Try this link for documentation of the latest version of ADO is also available at: http://msdn.microsoft.com/library/de...dataaccess.asp


All times are GMT -4. The time now is 5:42 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC