Thread: C and database access

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    13

    C and database access

    Hi all,

    Does anyone know of any decent C database tutorials? I've been on google for a bit and come across loads of windows ones, no linux tho .

    Thanks in adv

  2. #2
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    What type of database?
    If you want to do some database programming without building your own I'd suggest www.mysql.com

  3. #3
    Registered User
    Join Date
    Mar 2004
    Posts
    13
    SQL was the type of thing i was looking for. Was a little unsure of libraries etc I needed to make a connection to the db, but i'll have a read.

    If anyone could post a url for a good tutorial that would be great

    thanks for your help Thantos

  4. #4
    & the hat of GPL slaying Thantos's Avatar
    Join Date
    Sep 2001
    Posts
    5,681
    The link I gave you has links to tutorials on how to setup and use mysql.

  5. #5
    Registered User
    Join Date
    Sep 2002
    Posts
    52
    This is the actual link on the mysql site for the API, there are examples and pages on how to use them, not exactly tutorials, but very useful and helpful

    http://dev.mysql.com/doc/mysql/en/C.html

    You can also use PostgreSQL, but the API for that is pretty shoddy :P MySQL is so much easier to use once you get the hang of it. There are also heaps of sites with example add, del and list functions for MySQL, I'd attach some, but you can find them by typing in 'example mysql c api' in google
    Last edited by Longie; 09-30-2004 at 02:36 AM.
    - Daniel Wallace

Popular pages Recent additions subscribe to a feed