How I can use mysql in C++?

后端 未结 3 1564
遇见更好的自我
遇见更好的自我 2021-02-04 10:46

I have searched a lot, all I found is a \"mysql++\" but I don\'t know how to install it.

I don\'t have knowledge about libraries in C++!

3条回答
  •  一向
    一向 (楼主)
    2021-02-04 11:44

    Do you already have a running database to access? If so, then mysql++ is straightforward. There's nothing to install; just include the libraries and headers like any other code. There is a simple example here:

    http://tangentsoft.net/mysql++/doc/html/userman/tutorial.html#simple

提交回复
热议问题