Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to use c++ to connect sql?
Index -> Programming, C++ -> C++ Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
carmellabanker




PostPosted: Wed Feb 01, 2012 7:38 am   Post subject: How to use c++ to connect sql?

I'm using dev c++ and ms sql 2005 express.
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Wed Feb 01, 2012 8:11 am   Post subject: RE:How to use c++ to connect sql?

http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html
md




PostPosted: Wed Feb 01, 2012 11:42 am   Post subject: Re: RE:How to use c++ to connect sql?

Insectoid @ 2012-02-01, 8:11 am wrote:
http://dev.mysql.com/tech-resources/articles/mysql-connector-cpp.html

Because mySQL is totally Microsoft SQL Server Wink

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




PostPosted: Wed Feb 01, 2012 2:09 pm   Post subject: 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




PostPosted: Wed Feb 01, 2012 2:56 pm   Post subject: 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




PostPosted: Mon Feb 06, 2012 1:16 am   Post subject: 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




PostPosted: Wed Feb 15, 2012 3:39 pm   Post subject: 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, Google, returned this to me.

Plain text in-case anyone has hyperlinks disabled: http://www.sqlapi.com/
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: