Find the answer to your Linux question:
Results 1 to 5 of 5
How to design and develop databse programs in C or C++ and Python? I like Database Programming a lot. But I have not been able to do much in c ...
  1. #1
    Just Joined!
    Join Date
    Feb 2008
    Posts
    21

    Lightbulb [SOLVED] Database Programming using C / C++ & Python

    How to design and develop databse programs in C or C++ and Python? I like Database Programming a lot. But I have not been able to do much in c / C++. I did create some programs or games which used database or text files to maintain the records. But it was not so efficient.

    Any guidelines or resources to help me achive this?

  2. #2
    Just Joined!
    Join Date
    Mar 2008
    Posts
    1
    sorry dude..!!!

  3. #3
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    I assume that you are referring to employing a database.

    Well, for instance, MySQL provides APIs that allow you to manipulate databases with your program. I have employed the PHP one to great success. You can find some information on them at:
    MySQL :: MySQL 5.1 Reference Manual :: 25 APIs and Libraries

    So it does depend on what exactly you want to do as to whether it's worth using a database. But the link provides C, C++, and Python APIs, so have a look!
    DISTRO=Arch
    Registered Linux User #388732

  4. #4
    Just Joined!
    Join Date
    Feb 2008
    Posts
    21
    Thanks Cabhan!

    Here's a pdf version of a chapter dedicted to this topic:

    MySQL :: Paul DuBois - Writing MySQL Programs Using C


    Quote Originally Posted by Cabhan View Post
    I assume that you are referring to employing a database.

    Well, for instance, MySQL provides APIs that allow you to manipulate databases with your program. I have employed the PHP one to great success. You can find some information on them at:
    MySQL :: MySQL 5.1 Reference Manual :: 25 APIs and Libraries

    So it does depend on what exactly you want to do as to whether it's worth using a database. But the link provides C, C++, and Python APIs, so have a look!

  5. #5
    Just Joined!
    Join Date
    Aug 2007
    Posts
    2

    You can find some useful database libs on my site

    Hi, I don't like advertising much , but I've created site dedicated to Linux programming. It's called stosha.net .

    Here's a page with ANSI/cross-platform C++ database libraries:


    C++ ANSI Page


    POSIX-compliant C++ database libraries: POSIX database C++ libs


    Python Database libraries: here


    Hope it helps!

    Cheers!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...