create connection to database in C

This is a discussion on create connection to database in C within the C Programming forums, part of the General Programming Boards category; Hi, would like to know how can i implement connection to DB and run a query in C. also which ...

  1. #1
    Registered User
    Join Date
    Dec 2010
    Posts
    2

    create connection to database in C

    Hi,
    would like to know how can i implement connection to DB and run a query in C.
    also which libraries i need to do it.
    thanks

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,304
    It depends on what database system you have in mind. If you are just experimenting at this point, SQLite is a good introduction.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Dec 2010
    Posts
    2
    i am using a load test application called Loadrunner from HP that has C compiler.
    my goal is to execute a query to find a specific value and use it aferwards.
    i am working with oracle DB.
    can you refer to an example of this kind

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Comunicating with an off site database
    By Lee134 in forum C# Programming
    Replies: 5
    Last Post: 08-02-2005, 11:49 AM
  2. XML and database ??
    By mellisa in forum Tech Board
    Replies: 14
    Last Post: 03-30-2003, 04:02 AM
  3. Programmers Database
    By sean345 in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 09-03-2002, 02:16 AM
  4. Replies: 1
    Last Post: 05-31-2002, 11:46 AM
  5. File Database & Data Structure :: C++
    By kuphryn in forum C++ Programming
    Replies: 0
    Last Post: 02-24-2002, 11:47 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21