Unix Programming - How to Access Database from a C++ program in Linux

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2006 > How to Access Database from a C++ program in Linux





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How to Access Database from a C++ program in Linux
Sunil Varma

2006-03-15, 2:49 am

Hello all,

I'm developing a test tool that will collect information from a file.
The data collected from the file is parsed and put on to socket.
But I want two modes of collecting data.
1) From normal text file.
2) From a database.

All the above is to be developed in C++.
Till now I finished doing with socket communication with the file
parser.
But I did not from database.
I know MySql.
Can anyone guide me in connecting my C++ program to mysql database.
What is the procedure to connect a C/C++ program to any database, in
Linux environment.

Thanks in advance.

Regards
Sunil Varma

the_edge123.nospam@club-internet.fr

2006-03-15, 2:49 am


Sunil Varma a =E9crit :

> Can anyone guide me in connecting my C++ program to mysql database.

Have a look at http://tangentsoft.net/mysql++

Sunil Varma

2006-03-15, 7:49 am


the_edge123.nospam@club-internet.fr wrote:
> Sunil Varma a =E9crit :
>
> Have a look at http://tangentsoft.net/mysql++


Thank you.
That serves my purpose.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com