c my project to connect to the database

This is a discussion on c my project to connect to the database within the C Programming forums, part of the General Programming Boards category; c my project to connect to the database. Information Please...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    1

    c my project to connect to the database

    c my project to connect to the database. Information Please

  2. #2
    Registered User
    Join Date
    Jan 2009
    Posts
    1,485
    Here you go.

    How To Ask Questions The Smart Way

    That should get you on your way.

  3. #3
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    Geez are we supposed to be mind-readers? How are we supposed to know what language, what compiler, what platform and in your case what database and is it a local or remote DB??

    <rolls eyes>
    Some people's kids...
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

  4. #4
    Registered User claudiu's Avatar
    Join Date
    Feb 2010
    Location
    London, United Kingdom
    Posts
    2,094
    Quote Originally Posted by jeffcobb View Post
    Geez are we supposed to be mind-readers? How are we supposed to know what language, what compiler, what platform and in your case what database and is it a local or remote DB??

    <rolls eyes>
    Some people's kids...
    Geez Jeff if you can't provide him with the information why don't you just shut up already! Can't you see the man is in a hurry and has no time to spend on the likes of us..
    1. Get rid of gets(). Never ever ever use it again. Replace it with fgets() and use that instead.
    2. Get rid of void main and replace it with int main(void) and return 0 at the end of the function.
    3. Get rid of conio.h and other antiquated DOS crap headers.
    4. Don't cast the return value of malloc, even if you always always always make sure that stdlib.h is included.

  5. #5
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    I stand chastised... Seriously I like doing DB stuff (spent 3 very cool days with the guy who wrote SQLite a year or so ago when we were porting it to CellBE) and I was all fired up over helping out with a DB project when I click into and see the equivalent of "ME WANT DB PROJECT. GIVE ME CODE."
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Database setup for searching based on string distance
    By Mario F. in forum General Discussions
    Replies: 4
    Last Post: 02-24-2010, 06:15 AM
  2. What database technology would best suit my project ?
    By Desolation in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 04-02-2009, 10:42 AM
  3. Database connect
    By column in forum C++ Programming
    Replies: 4
    Last Post: 02-14-2006, 03:40 AM
  4. Developing database management software
    By jdm in forum C++ Programming
    Replies: 4
    Last Post: 06-15-2004, 05:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21