Hello!
#include "include/mysql++.h"
#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
mysqlpp::Connection con(false);
if(!connect_to_db(argc,argv,con)){
return 1;
}
return 0;
}
Gives me the error
C:\mysql++\main.cpp|12|error: `connect_to_db' was not declared in this
scope|
I have successfully compiled the dll and the examples are working, but I
don't understand what I am doing wrong. I've been searching about this for
more than 4 hours. MySQL version 5.0 is installed, I'm using gcc 3.4.5 and
mingw. IDE is Code::Blocks
Thank you!
--
-Bernardo
--
-Bernardo