Page 1 of 1

client game with Mysql

Posted: Mon Nov 29, 2004 8:47 am
by asterinex
Hello,

I would like to hear your opinions how I best tackle my problem. I´m writing a game in c++ that (in the future) people can download from my website. All users have to sign in and have a record in de database. Now I want to integrate the online database in my game (example players picture). Is it possible to query my database trough the C++ client programm(game) ? Also I thouht buidling up the database to look wh´s online ?

Posted: Mon Nov 29, 2004 9:14 am
by kettle_drum
I assume that it will be a MySQL database, if not change the search query.

http://www.google.com/search?hl=en&q=c% ... gle+Search

And take your pick of the C++ libraries that you can use. Since you will be distrubuting the application later on make sure that you provide the url of the database server in a seperate file so that you can easily change it if your server address ever changes.