Hello everyone,
Im very new to c++ and dont have very much experience. But Im working on a programm and for that programm I need ms sql connection.

Ive already googled much but I couldnt find what I need.

Now I would like to ask here if someone know where I can get this.

I need a ms-sql library(?) which I can put into my c++ programm and run queries/get the query results etc.

It should be like this:

DatabaseClass abc;
abc.SetQuery("SELECT tools FROM table");

or something like this.

Anyone an idea where I can get something like that?

EDIT: Im using visual studio 2010
EDIT2: This is needed for an online game (mmorpg)