Mysql connection in Ansi c
I am working in Ansi C, windows 开发者_开发知识库platform. I want to attach mysql database to my c program. Kindly guide me how I can make it possible.
Here is a working example which sets up a connection and performs a query.
ANSI (ISO) C doesn't do networking, so by definition you can't do MySQL connections in ANSI C. You will have to move to POSIX at least. So, the answer is, "It is impossible."
精彩评论