954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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

Rasmo
Newbie Poster
1 post since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

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/default.asp?url=/downloads/list/dataaccess.asp

Xnoudas
Newbie Poster
5 posts since Nov 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You