If you come here to ask something, people give you advice in there own free time,
but it seems a bit that you don't want to listen to them and that you know it better.
Wow, that's a broad statement xD I never even stated anything as if I know anything better. I even admitted I can't code very well in C++, I'm a newb here. Please, before prosecuting me take a look at my past messages. I've never stated that I know more than ANYONE here. Thank you.
Okay, well I have used the connector successfully in multiple projects, so I can tell you it works. I did ask you what problems you are having, but you did not answer me.
?
Well one problem I have noticed is that I am using VS2013, and it says in the MySQL C++ Connector docs that I have to use the outdated 2008 IDE which is fairly retarded. I don't understand why I should have to downgrade my IDE in order to use something that should work fine since it's still the same language. (MicroSoft problems am I right?)
As for my actual problems, here is my code (which is an actual sample code from their website and should work by default):
#include <mysql_connection.h>
#include <mysql_driver.h>
#include <mysql_error.h>
int main(){
sql::mysql::MySQL_Driver *driver;
sql::Connection *con;
driver = sql::mysql::MySQL_Driver::get_mysql_driver_instance();
delete con;
}
I get these errors in the Error list:
1 IntelliSense: cannot open source file "boost/variant.hpp" c:\Program Files\MySQL\Connector C++ 1.1.3\include\cppconn\connection.h 31 1 MySQL
2 IntelliSense: name followed by '::' must be a class or namespace name c:\Program Files\MySQL\Connector C++ 1.1.3\include\cppconn\connection.h 41 9 MySQL
3 IntelliSense: expected an identifier c:\Program Files\MySQL\Connector C++ 1.1.3\include\cppconn\connection.h 41 24 MySQL
4 IntelliSense: identifier "ConnectPropertyVal" is undefined c:\Program Files\MySQL\Connector C++ 1.1.3\include\cppconn\connection.h 43 35 MySQL
5 IntelliSense: cannot open source file "boost/shared_ptr.hpp" c:\Program Files\MySQL\Connector C++ 1.1.3\include\mysql_connection.h 31 1 MySQL
6 IntelliSense: cannot open source file "boost/scoped_ptr.hpp" c:\Program Files\MySQL\Connector C++ 1.1.3\include\mysql_connection.h 32 1 MySQL
7 IntelliSense: cannot open source file "boost/scoped_ptr.hpp" c:\Program Files\MySQL\Connector C++ 1.1.3\include\mysql_driver.h 30 1 MySQL
8 IntelliSense: class "sql::mysql::MySQL_Driver" has no member "get_mysql_driver_instance" c:\Users\Jeremy\Dropbox\C++\Projects\MySQL\MySQL\Main.cpp 9 37 MySQL
Also, you don't have time to read the docs? Seriously, with that attitude you won't get far with game programming. It takes time, lots of it.
That's also another broad statement. I have been able to code anything I've ever wanted in Java without ever touching a doc, thanks to the great community support and millions of working examples on websites such as YouTube that will teach you how to do things correctly. However with C++ there seems to be much less resources like those I found for Java, and it's much more complicated. That's why I'm trying to get help.