Thread: Mysql & C++
View Single Post
Old 03-15-2008, 06:36 PM   #3 (permalink)
smartgear
Marios's Mustache Wax
 
Join Date: Mar 2008
Location: US
Posts: 11
Reputation: 10
MMOFaces Profile: None Yet
Default

Quote:
Originally Posted by hackedx View Post
How does MYSQL and C++ work together? I understand how to use MYSQL to make database, tables, users, etc, but i don't understand how they work together? Whats the purpose of using C++ with MYSQL, what can you do. If you wanted to make an mmo using C++ would you be required to use MYSQL as a database to get players connected and sharing information? I'm just looking for a little help here ;x
You would use C++ or PHP, etc. to programmatically insert, update, and select data from MySQL. If you plan on using C++ to gather data from MySQL, I'd check out the following documentation on C++ MySQL libs.

http://tangentsoft.net/mysql++/doc/

Also, if you built an mmo with C++ you don't necessarily have to use MySQL to store player info .. you could use text files, xml, etc. But MySQL would be a better choice.
__________________
[[ http://www.intelligentgear.com/ ]]

Intelligent Gear is a set of online turn based browser games designed for having
strategic fun in combative environments. Check out Gear Combat Arena, or Base Ship Commander.
smartgear is offline   Reply With Quote