Quote:
Originally Posted by hackedx
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.