0

I make a small project on student but i don't know about file handling for database;
can any one tell me the simple way to connect my project to SQL database;

5
Contributors
11
Replies
12
Views
6 Years
Discussion Span
Last Post by pawan_sharma777
0

I think you can use the ODBC technology to connect to a simple access database.
Because you are asking for a very simple database.I don't have a idea how much that
word 'simple' is stronger here.Working with the ODBC is dead easy. Assuming you are
on the microsoft windows machine.

Or else if you want to use a mysql like connector http://www.mysql.com/downloads/connector/cpp/

0

Here is one of many tutorials you will find. I wouldn't exactly call ODBC "dead easy", but you only need a good grasp of C or C++ language.

In order to do anything useful you will need to learn SQL (Structured Query Language). Again, there is lots of information on the net. This wiki article is a quick overview.

0

If simple means Add, Delete and Show records based on some key then we can us the simple file handling of C++. fopen(), fclose(), fread() and fwrite() had done a fairly good job for me to make a small Airline Reservation System using Turbo.

0

I know about the SQL what i dont know how to connect it with my c++ program
i make the student management system so can any one help me???????????????

0

Here is one of many tutorials you will find. I wouldn't exactly call ODBC "dead easy", but you only need a good grasp of C or C++ language.

In order to do anything useful you will need to learn SQL (Structured Query Language). Again, there is lots of information on the net. This wiki article is a quick overview.

buddy i know SQL what i dont know how to connect it with my project?????????

0

You are assuming he has MySQL database. AFAIK MySQL++ doesn't work with other SQL databases, such as M$ Access.

You are right, I was referring to NicAx64's post. the connector cannot be compiled with MinGW AFAICS

-1

If simple means Add, Delete and Show records based on some key then we can us the simple file handling of C++. fopen(), fclose(), fread() and fwrite() had done a fairly good job for me to make a small Airline Reservation System using Turbo.

hey can u give me your airline code ,which gave me idea for my project!

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.