Hi,
I'm an experienced developer but not done much in c++ and wanted to get some basic database operations in my program, open, store, retrieve etc.
Does anyone have any good links that could get me started?
Thanks
Baden
Hi,
I'm an experienced developer but not done much in c++ and wanted to get some basic database operations in my program, open, store, retrieve etc.
Does anyone have any good links that could get me started?
Thanks
Baden
Since you are an experienced developer, I thing you should have googled before posting an ask here.
Hi,
I unfortunately google has a lot of people who think they can develop, there are very few decent web pages to get useful information.
Anyhow, I've run into a few issues when trying to use mySQL connectors.
#include <iostream>
#include <windows.h>
#include <iostream>
#include <stdlib.h>
#include <memory>
#include <string.h>
#include "mysql_connection.h"
#include <cppconn/driver.h>
#include <cppconn/exception.h>
#include <cppconn/resultset.h>
#include <cppconn/statement.h>
I'm not actually using anything from these headers, but my project isn't compiling.
Description Resource Path Location Type
'int32_t' has a previous declaration as `typedef int int32_t' StockBroker line 31, external location: C:\MinGW\include\stdint.h C/C++ Problem
'int8_t' has a previous declaration as `typedef signed char int8_t' StockBroker line 27, external location: C:\MinGW\include\stdint.h C/C++ Problem
'uint32_t' has a previous declaration as `typedef unsigned int uint32_t' StockBroker line 32, external location: C:\MinGW\include\stdint.h C/C++ Problem
conflicting declaration 'typedef char int8_t' StockBroker line 60, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
conflicting declaration 'typedef long int int32_t' StockBroker line 75, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
conflicting declaration 'typedef long unsigned int uint32_t' StockBroker line 79, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
conflicts with previous declaration `typedef int int32_t' StockBroker line 31, external location: C:\MinGW\include\stdint.h C/C++ Problem
conflicts with previous declaration `typedef signed char int8_t' StockBroker line 27, external location: C:\MinGW\include\stdint.h C/C++ Problem
conflicts with previous declaration `typedef unsigned int uint32_t' StockBroker line 32, external location: C:\MinGW\include\stdint.h C/C++ Problem
declaration of `typedef char int8_t' StockBroker line 60, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
declaration of `typedef long int int32_t' StockBroker line 75, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
declaration of `typedef long unsigned int uint32_t' StockBroker line 79, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\config.h C/C++ Problem
ignoring #pragma warning StockBroker line 24, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\warning.h C/C++ Problem
ignoring #pragma warning StockBroker line 34, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\exception.h C/C++ Problem
ignoring #pragma warning StockBroker line 38, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\exception.h C/C++ Problem
ignoring #pragma warning StockBroker line 39, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\exception.h C/C++ Problem
ignoring #pragma warning StockBroker line 44, external location: C:\Program Files\MySQL\MySQL Connector C++ 1.0.5\include\cppconn\exception.h C/C++ Problem
I'm using Eclipse CDT and Mingw
Any help is most appreciated.
Baden
Did you got solution?
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.