Need help with c++

Discussion in 'Programming' started by babes_pile, Feb 4, 2009.

  1. #1
    I am making a project in c++ and needed help reading and writing data to a table in anything like SQL, Ms Access, Excel..

    This is bit urgent.. :( Please help me out
     
    babes_pile, Feb 4, 2009 IP
  2. MunnaMobile

    MunnaMobile Banned

    Messages:
    234
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    0
    #2
    MunnaMobile, Feb 4, 2009 IP
  3. Ancient Dragon

    Ancient Dragon Peon

    Messages:
    192
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There are no quick and dirty solutions to your problem -- learning SQL and learning how to interact with SQL databases takes a fairly long learning curve. The link in the previous post seems to provide some excellent code and ideas. You might also want to google for some SQL and ODBC tutorials.
     
    Ancient Dragon, Feb 5, 2009 IP
  4. ArmenS

    ArmenS Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That sure is a nice collection of actual examples to learn C++ off of. They are straightforward and have code that can be analyzed in order to see its purpose. It is probably one of the quicker ways to learn coding, as you figure out each piece of a working program.
     
    ArmenS, Feb 7, 2009 IP
  5. w0tan

    w0tan Peon

    Messages:
    77
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you're using non-visual c++, check out this library.

    But, if you are using visual c++, just use OLE to do everything with access, excel, mssql, and etc. Google will reveal hundreds of examples on how to connect to any database you need.
     
    w0tan, Feb 8, 2009 IP
  6. kellywriter

    kellywriter Banned

    Messages:
    81
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You should make system dsn connection , its pretty easy to do it using control panel so you can do it easily. If you have a problem let me know I can send you a code.
     
    kellywriter, Feb 8, 2009 IP