mySQL with C++
Posted on 2001-07-02
Okay, I'm pretty new to C++ here, so y'all might have to speak in newbie terms or I'll get lost!
Basically, I want to start using C or C++ to access a mySQL database. I'll set up a little scenario for the purpose of this question...
I have a mySQL table set up with three fields, X, Y and Z. I want my C++ program to read in the three values, then multiply X by Y, and increment the value of Z by this figure.
I then want to update the database.
I tried to install the API available on mySQL.com but failed miserably, so I could do with a step-by-step guide for this too. I use the Borland C++ Compiler (5.5).
Thanks in advance,