参考链接:(注意链接中MySQL的版本)
[https://dev.mysql.com/doc/refman/5.7/en/mysql-stmt-execute.html]
比较可惜的是,MySQL Connector/C++需要另外编译boost库
MySQL C API的参数化查询
原文:https://www.cnblogs.com/pureLaw/p/13271700.html