1) how to connect c to database.....
2) how to connect C++ to Database......
Reply me its urgent.
Jump to Post"How to connect" is going to depend on what kind of database you are using. Is there a specific database you must connect to, or are you able to choose your own?
"How to connect" is going to depend on what kind of database you are using. Is there a specific database you must connect to, or are you able to choose your own?
ODBC is the way to go if you want a program to be able to connect to a variety of SQL-compliant databases, such as Access, MySQL, Oracle, Sybase, etc. etc. See the links that Narue posted. But if you have a specific database in mind then you might get better and faster results by using database-specific API, such as Microsoft's ADO or MySQL API.
You will have a lot more options if you moved to c++, such as MySQL++ for MySQL database.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.