我下载的mysql++manual 如何使用?

解决方案 »

  1.   

    我用过,VC++6能成功使用
    BCB就不行了不过BCB6的控件直接支持mysql
      

  2.   

    mysql++是一个C++的API可以 通过c++访问mysql
    有两个版本 一个是for mfc(Microsoft Vc 6.0)下面是它的使用和安装文档
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This document is a reordered copy of the README.txt file currently in the root of the MySQL++ package for Microsoft Visual C++ (MVC++).
    ~~~~~~~~~~~~~~
    1.Once you have downloaded the file named mysql++-1.7.1-1-win32-vc++.zip.  Extract it to wherever you would like. Once you extract it, the path is initially very long, I recommend renaming it to mysqlpp. This will be referred to as the ++root directory.2.Start MVC++, open the example you would like to compile from the ++root\examples directory.3.Add mysql++.lib to the project.  It is located in ++root\lib.4.Go to Project Settings, C/C++ tab, find the category pull down list and choose Preprocessor, and add the directories ++root\include and ++root\mysql\include to the "Additional include directories" edit box.5.In the files which you want to use MySQL++, add the line: #include <mysql++> after all other included header files (especially those of MFC).6.If errors occur, see the "Problems" section – Specifically problem number 4 will help.
    其实就是把其中的程序预先处理一下~~~~~还有一个是for boland c++ builder 原理相同
    至于使用的话 mysql++manual 写的很清楚~~~~~
      

  3.   

    是for borland c++
    不是for borland c++ builder的