Database in C/C++

Discussion in 'Computer Programming, Emulation, and Game Modding' started by Wabsta, Jul 7, 2009.

  1. Wabsta

    Wabsta you fight like a dairy farmer

    Apr 25, 2008
    SCUMM Bar
    Okay, so I'm programming a nice little application, and atm, I'm using XML for reading the Data.
    But actually I would like to have something like MySQL, you know, like a database, with tables, where I can easily manage the data, and easily read it from my application.
    But I have no freakin idea what to google for this.

    Oh, it has to be offline btw.
    Anyone has suggestions?
  2. emupaul

    emupaul GBAtemp Fan

    Jun 26, 2009
    United States
    space, I learned from here. the c++ wrapper api sucks ballz use the real deal.

    to get the the libs and header files you need to install the mysql community server.

    optional install xampp it sets up a webserver and mysql db on local host it also includes myphpadmin a webtool to add drop tables etc

    then you can connect after linking the correct libs to your project
    MYSQL mysql;
    you can even set up a no-ip account to get a free domain name that points to your internet ip address so you can connect to your local database from another computer.

    you must also download a client to keep your server domain name active and up to date in case your ip changes.

    If you have webspace that includes mysql database make sure they allow remote database connection otherwise your c/c++ program will not be able to connect.
    most webspace servers do not offer this because of security reasons.