Skip to main content
GameDev.net gamedev.net
🔒 Locked

mySQL database programming

Started by Mupp Jan 28, 2004 at 2:49 PM 4 replies 350+ views
Original Post
Mupp
Mupp
Hello, im looking for some good tutorials on mySQL database programming in C++, connecting, getting and insterting of data, and so on. Many Thanks
intransigent-seal
intransigent-seal
Well, this is really two things. You need to learn SQL, to manipulate the data in the database, and you need to learn a bit about the C or C++ MySQL API.
I would suggest you look at the MySQL documentation for both of those. The C API is pretty easy to understand. For learning SQL, you might also want to look at w3schools.com. Which should help you understand it more easily than the documentation. Use the docs for reference though, and to check up on MySQL specific extensions.

John B
The best thing about the internet is the way people with no experience or qualifications can pretend to be completely superior to other people who have no experience or qualifications.
Mupp
Mupp
I know SQL quite well from my time as ASP programmer where i used databases allot. Its just the C++ -> Database thats the hard part, connecting and how to get my sql commands executed
yspotua
yspotua
Here you go, next time, use google.

http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C
yspotua
yspotua
quote:
Original post by Enselic
And next time yspotua, you can use the a-tag:
http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#C

[edited by - Enselic on January 28, 2004 5:01:51 PM]


I know how to use that tag, but since I went through the trouble of finding the link, he could at least cut and paste it.



[edited by - yspotua on January 28, 2004 6:47:17 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.