View Full Version : MySQL and C++?
10-14-2007, 04:00 PM
Hey. I just started learning C++ and I'm curious about if there's a way to use MySQL in C++.
I tried downloading MySQL++, but it only came in a .tar.gz file. Is there another way to connect, or can someone guide me? I'm using Dev-C++ at the moment. (I'd change to another editor / compiler / IDE if needed, though)
10-14-2007, 11:15 PM
Did you extract it?
10-15-2007, 04:40 PM
Um :O how?
ralph l mayo
10-15-2007, 04:51 PM
10-16-2007, 12:09 AM
Downloaded Winzip -> Installed -> Unzipped -> Added to Dev-C++ Include Library -> [current place]
I tried including "mysql++" (using: #include <mysql++>) but it said it didn't exist. Am I doing it wrong? Can someone show me how to do it, or show a tutorial? ._.
10-16-2007, 02:14 AM
I'm pretty sure the main header file is called mysql++.h not just mysql++
10-18-2007, 08:44 PM
I replaced #include<mysql++> with #include<mysql++.h>, but it gave more errors (dir. could not be found).
I went through and I replaced all the mysql libraries with the ones I downloaded (and they are all in there), and mysql++ DOES exist in that folder where all the other includes are.
What do I do? :o
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.