Hello!
I use Debian Sid and I installed the libmysql++-dev package.
How can I compile a simple example? I tried with:
g++ test1.cpp -o test -I/usr/include/mysql++, but the compiler said
me that de file mysql++ does not exists. Here is part of the example:
.....
#include "mysql++"
#include <iostream>
#include <iomanip>
using namespace mysqlpp;
using namespace std;
int
main(int argc, char *argv[])
{
// Connect to the sample database.
mysqlpp::Connection con(false);
if (!connect_to_db(argc, argv, con)) {
return 1;
}
.....
Thank you for helping me.