Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Newbie to C++ Database recomendations

Newbie to C++ Database recomendations

Newbie to C++ Database recomendations

I am proficient at VB and VBA and database programming, however I need to write a program in Visual C++ 6.0 that will be used on both windows and linux machines. I have QT builder for the forms. I have searched for info on this without much luck. The program will need to read and write to a database. I have a couple of questions:

1) any recomendations on the database to use (I am very familiar with Access but am open to others) If something is recomended, are there any additional software/libraries I will need/distribute with my code and where to get them?

2) any FAQ's, tutorials, etc on the code references for database programming in C++ 6.0. ie, connection strings, DAO, DAO. I will be doing somewhat simple linking of the tables (trying to keep the table normalized)and reading and writing the data to the fields.

RE: Newbie to C++ Database recomendations

1. Forget VC++ 6.0 now! Use Visual Studio 2008 or (may be)Code::Blocks IDE (with MinGW compiler on Windows). As far as I know Qt is integrated with VS 2003+.
2. Forget DAO (nevermore!): you need cross-platform application - no this obsolete MS Jet stuff on Linux.
3. Try MySQL DBMS. It has C/C++ cross-platform interfaces. There are lots of docs about MySQL programming in INET: Google is your friend...

RE: Newbie to C++ Database recomendations

Is this a disk based app or memory based app.  If it is memory based, you could try sqlite.  If you really want to stick to VS6, it will work on VS6.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close