Thread: databse connection in C

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    1

    databse connection in C

    Hello,

    Please tell me,how to connect a database from C or C++

    regards
    naigin

  2. #2
    Registered User
    Join Date
    Jan 2002
    Posts
    363
    It depends on the type of database and what system its running on.

  3. #3
    Unregistered
    Guest
    For Oracle
    Use Pro C or OCI

    For Sybase
    Use CT-Library

  4. #4
    jaideep
    Guest
    to use c/c++ as frontend and connect to sybase u need to know the dblibrary funtions and structures for sybase.
    u should be careful while giving validations.b'cause improper validation may accept ur data input at the frontend .but it may not be accepted at the backend database.
    to connect vb and vc++ u can use odbc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. multiple forks in one client connection (ftpclient)
    By Dynamo in forum Networking/Device Communication
    Replies: 5
    Last Post: 01-16-2011, 12:41 PM
  2. Non-blocking socket connection problem
    By cbalu in forum Linux Programming
    Replies: 25
    Last Post: 06-03-2009, 02:15 AM
  3. Replies: 6
    Last Post: 12-19-2008, 05:49 PM
  4. passing a connection to another process.
    By Kinasz in forum Networking/Device Communication
    Replies: 3
    Last Post: 10-09-2004, 05:34 PM
  5. Headers that use each other
    By nickname_changed in forum C++ Programming
    Replies: 7
    Last Post: 10-03-2003, 04:25 AM