I want to connect my database (sql) into a program i made on c in codeblocks but i cant find a way to do it

Recommended Answers

All 4 Replies

I cant find there c language

The listings are by database engine, not language.

Which SQL RDBMS are you using (SQL is a standard, not a specific DB engine), and which version? I am guessing MS SQL Server, but I would not want to assume.

Each SQL database has its own connection api's and protocols, and they all have a connection api for the C language. You need to refer to the specific database documentation to determine how to do this. IE, MySQL is different from Postgres, is different from SQL Server (Sybase), is different from Oracle, etc...

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.