How to access a database server using C programming on linux/unix platform.

Posted on 2005-05-06
Last Modified: 2012-05-05
Hello friends,

Could anybody tell me how to access the database server(SQL server) using C programming on linux platform? And also about printing a page using C programming
Question by:Goodman79
    LVL 23

    Accepted Solution

    You will need an ODBC connectivity library.  (Database connectivity is not part of the standard C library.)
    Try looking here:

    LVL 24

    Assisted Solution

    printing a page in C depends on the toolkit you're using. Of course you can always run someting like
    system(lpr "my_document") from within a C program but I do not think that is what you asked for.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Suggested Solutions

    Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
    This tutorial is posted by Aaron Wojnowski, administrator at  To view more iPhone tutorials, visit This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
    The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
    The goal of this video is to provide viewers with basic examples to understand and use structures in the C programming language.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now