Well Can any one help me and say how to read/write a mdb file in c++:'(

Recommended Answers

All 4 Replies

I think that is a file created by Microsoft Access. There are several ways to read it, and all of them require knowledge of SQL query language embedded in c or c++ program. Probably the most common way to read the file is via ODBC which is a set of functions that process SQL statements. There are a number of c++ ODBC classes available, some are free but most are not. And there are even some ODBC tutorials.

Well can you please tell me some examples .
or send mainl at :
<email snipped>

commented: Lazy -1

just do google search for odbc and you will find lots of examples. There is no such thing as a "simple" example because accessing databases is somewhat complex topic and there have been several books written about it. You will need to have a comfortable level of c or c++ knowledge to write database applications.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.