Thread: How can I connect Database in Pelles C platform

  1. #1
    Banned
    Join Date
    Aug 2011
    Location
    Ghaziabad, India, India
    Posts
    48

    How can I connect Database in Pelles C platform

    Hey Folks ! Is any one told me some answer or suggestions ?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    It would depend on the database system. If you are open to suggestions, I suggest that you start with SQLite as it is just a matter of getting the header, the amalgamation source file, then compiling the amalgamation and linking it with the rest of your program, including the header in those files of yours where you require database access.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Vxyz View Post
    Hey Folks ! Is any one told me some answer or suggestions ?
    The same way you would in any other implementation of standard C.


    If you need help with the IDE... Pelle maintains a forum... HERE

  4. #4

  5. #5
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,949
    Quote Originally Posted by Amy Hoy
    By nature they feed on generous individuals who tend towards helping others, and leave their victims exhausted, bitter and dispirited.
    Oh, that's what happened to quzah.....
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  6. #6
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by laserlight View Post
    It would depend on the database system. If you are open to suggestions, I suggest that you start with SQLite as it is just a matter of getting the header, the amalgamation source file, then compiling the amalgamation and linking it with the rest of your program, including the header in those files of yours where you require database access.
    There are several very good articles on SQLite on the Pelles C forums...

    SQLite Example
    Simple and tiny SQLite3 GUI shell

    and others...

    Our friend only needed to go over there and search...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C Programming to connect to access database
    By histupid1 in forum C Programming
    Replies: 0
    Last Post: 04-26-2011, 11:58 PM
  2. c my project to connect to the database
    By Polat1256 in forum C Programming
    Replies: 4
    Last Post: 05-19-2010, 04:00 PM
  3. Connect to a sql database
    By Boy67 in forum C++ Programming
    Replies: 4
    Last Post: 08-28-2008, 03:33 PM
  4. Database connect
    By column in forum C++ Programming
    Replies: 4
    Last Post: 02-14-2006, 03:40 AM
  5. How to connect with Oracle database
    By Jone in forum C++ Programming
    Replies: 1
    Last Post: 10-02-2002, 06:09 AM