Author Topic: Need Guidance in connecting to mySQL with c++  (Read 924 times)

0 Members and 4 Guests are viewing this topic.

Offline PsychoRebellious

  • Peasant
  • *
  • Posts: 130
  • Cookies: -6
    • View Profile
    • My Rantings
Need Guidance in connecting to mySQL with c++
« on: January 18, 2014, 06:17:20 pm »
Getting back to c++ after 6 whole months( i was off from programming)
I haven't done anything practically except for some retarded stuff with QT. Anyway anyway, I need to know which method(if any) you prefer to connect with a sql database? I know that QT allows that functionality but I am not really interested in learning too much QT *yawns* console is fine, I'll learn GUI with Java maybe.
I am in need of your guidance, Right now I have wamp installed where i practice my web developing skills and I was wondering if I could connect to the mysql database with c++.
Since I just got back then I am looking for some c++ console based programs to shine my skills with, if you have any then please do let me know. I have the following ones in my mind
->A program that saves data for users in a database, depositing and withdrawing transactions- for banks
-> An ATM machine program, same as above I'd see if I could make it any different
-> A diary. :S
I can save it all in txt files with the file handlers but I want to use a sql database, just for the heck of it, for the sake of learning .

Offline Stackprotector

  • Administrator
  • Titan
  • *
  • Posts: 2515
  • Cookies: 205
    • View Profile
Re: Need Guidance in connecting to mySQL with c++
« Reply #1 on: January 18, 2014, 10:16:38 pm »
To shine your skills?  get your idea's straight man, you are asking us if you should learn ten different languages.

Anyhow, get up the mysql or sqLite driver for C++ and pickup a SQL guide.
~Factionwars

Offline PsychoRebellious

  • Peasant
  • *
  • Posts: 130
  • Cookies: -6
    • View Profile
    • My Rantings
Re: Need Guidance in connecting to mySQL with c++
« Reply #2 on: January 19, 2014, 07:45:34 pm »
To shine your skills?  get your idea's straight man, you are asking us if you should learn ten different languages.

Anyhow, get up the mysql or sqLite driver for C++ and pickup a SQL guide.
I am only concerned with database access with C++ for now. Ten different languages? I only said JAVA because I want to make some platform independant GUI apps