Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Newbie - odbc/mysql

Newbie - odbc/mysql

Scheduled Pinned Locked Moved C / C++ / MFC
databasemysqlquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    antonaras_marcou
    wrote on last edited by
    #1

    Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance

    D D 2 Replies Last reply
    0
    • A antonaras_marcou

      Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Here is a semi-relevant article.


      "Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain

      "There is no death, only a change of worlds." - Native American Proverb

      1 Reply Last reply
      0
      • A antonaras_marcou

        Hi again I hava another question for you but this i time i'm completly lost. I need to connect to a database in order for retriving and storing. I've never done something simmilar before so i have no idea. i prefer to use mysql database. i've read something about odbc and thats what i'm willing to use(if u have other suggestions pls tell me) Any way can anybody tell me what i need to include and what are the first steps of the code to connect to the database(is it possible to avoid wizards). Also do u have any good reference on this matter which i can read to get a good understanding of how odbc works. Thanks in advance

        D Offline
        D Offline
        Dennis Gourjii
        wrote on last edited by
        #3

        This article is ok: http://www.coding-zone.co.uk/cpp/ARTICLES/090101accessodbc.shtml[^] However, to simplify things you may want to wrap all this ugly ODBC API into a class. This (like so many things around) has already been done. Search CodeProject, I believe there are several such articles.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups