C++ Program communicating with MySQL Database

前端 未结 8 1461
醉梦人生
醉梦人生 2021-01-03 10:01

Does anyone know of a simple way for a C++ program to communicate directly with a MySQL database? I have looked at MySQL++ and found it to be very confusing. If anyone kno

8条回答
  •  迷失自我
    2021-01-03 10:40

    I have used MySQL++ with great success. I found it to be everything I was looking for in a MysQL database client library. The examples they provide are great, see here for a simple one.

    If you know C++, it is much easier to use than the C library. It works great with Windows.

提交回复
热议问题