
-----------------------------------
carmellabanker
Wed Feb 01, 2012 7:38 am

How to use c++ to connect sql?
-----------------------------------
I'm using dev c++ and ms sql 2005 express.

-----------------------------------
Insectoid
Wed Feb 01, 2012 8:11 am

RE:How to use c++ to connect sql?
-----------------------------------
http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html

-----------------------------------
md
Wed Feb 01, 2012 11:42 am

Re: RE:How to use c++ to connect sql?
-----------------------------------
http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html
Because mySQL is totally Microsoft SQL Server ;-)

if you're going to be using Microsoft SQL Server, why not also use Visual Studio Express (free) and get a better development environment too? For information on how to connect to MS SQL Server I'd suggest checking out MSDN (http://msdn.microsoft.com/en-ca/bb188199)

-----------------------------------
DemonWasp
Wed Feb 01, 2012 2:09 pm

RE:How to use c++ to connect sql?
-----------------------------------
Is it just me that finds the three identical links at the bottom of carmellabanker's post a little suspicious, given the use of C++, the question about how to connect to an outdated database, and the single post count?

This OP looks like a spammer to me.

-----------------------------------
md
Wed Feb 01, 2012 2:56 pm

RE:How to use c++ to connect sql?
-----------------------------------
You could be correct, but on the off chance it's a legit question (after all, plenty of people use old software) I'm just going to remove those links.

-----------------------------------
Velocity
Mon Feb 06, 2012 1:16 am

RE:How to use c++ to connect sql?
-----------------------------------
well thee binary files are always main source files which is what i always use when i want to connect something. What i did for myself is i got the .bin file of the sql that i used converted the thing into text and morphed it with the .dll file then did a little file i/o of the new file that i created onto my c++ project and vola! If you still dont understand and have like teamviewer or something please pm me and i can help you like that.

-----------------------------------
S_Grimm
Wed Feb 15, 2012 3:39 pm

Re: How to use c++ to connect sql?
-----------------------------------
To my knowledge (not as vast or deep as I'd like) C++ has no native way to support this. Hence you must import a library. Quick search through my good friend, [url=http://google.ca]Google, returned [url=http://www.sqlapi.com/]this to me.

Plain text in-case anyone has hyperlinks disabled: http://www.sqlapi.com/
