Thread: Connecting Databases

  1. #1
    Unregistered
    Guest

    Connecting Databases

    How should we connect the Database like (Oracle,
    Ms-Access...) with C/C++, and also send me some sample code for my better
    understanding purpose.

    i want the sample for oracle and also Ms-Access.

    Thank you.

  2. #2
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    I want a million bucks.
    I want it in $100 bills; unmarked and non-sequencial.
    Thanks a bunch.

  3. #3
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    I'm sorry but I just couldn't resist.

    You obviously didn't read the faqs or you wouldn't be asking for code. At least give a crack at it. You can obviously surf the net so I'm guessing you can look for the code yourself. If you have problems implementing it or questions about the code then post here.

  4. #4
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    If it is a vendor database than you need to learn structured quiery language (SQL).

  5. #5
    Registered User Engineer's Avatar
    Join Date
    Oct 2001
    Posts
    125
    If you want to use any type of database you will need to learn SQL. This is the de facto standard in the industry, without knowing the Structured Query Language you won't be able to use a database, unless someone writes the queries for you.

    Every database though, will have its specific API which contains functions to open, close, query, etc. the database. Depending on the database of your choosing you must obtain the API for it in order to create programs compatible with it.

    Hope this helped.
    1 rule of the Samurai Code: if you have nothing to say, don't say anything at all!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Connecting to a DB2 database using C
    By leorohan in forum C Programming
    Replies: 3
    Last Post: 12-23-2008, 03:35 AM
  2. connecting to ftp server (winsock2)
    By commissar in forum C++ Programming
    Replies: 1
    Last Post: 03-03-2005, 10:22 AM
  3. problem connecting to db using odbc
    By WaterNut in forum Windows Programming
    Replies: 4
    Last Post: 05-28-2004, 02:37 PM
  4. Connecting to sql database on server
    By jverkoey in forum Windows Programming
    Replies: 1
    Last Post: 05-01-2004, 06:56 PM
  5. databases and C
    By Garfield in forum C Programming
    Replies: 13
    Last Post: 10-21-2001, 05:03 AM