Databases

This is a discussion on Databases within the Windows Programming forums, part of the Platform Specific Boards category; How would I access a database then read and modify it?...

  1. #1
    Unregistered
    Guest

    Smile Databases

    How would I access a database then read and modify it?

  2. #2
    Registered User
    Join Date
    May 2002
    Posts
    63
    You could use the file in and out functions provided by MFC. Read up on it, I dont have my notes with me so I cant give you a detailed description on how to do that.

    Hope this helped you.

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    How long is a piece of string?

    Seriously, there are dozens of answers to a general question like this. Some DB's provide a simple automation interface built in, other expose a complex API. Others one can build an OLEdb interface, or the older ODBC interface. It tends to depend on what you are using, and in what way, (local db, network server, etc.).

    If you a serious about DB programming, I can thouroughly recommend Lyn Robison's book "Database Programming with Visual C++", (if you are using another compiler - you may have some problems with the advanced stuff as he uses MFC classes, but things like ODBC are general).
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Concurrent Access and Databases.
    By indigo0086 in forum Tech Board
    Replies: 5
    Last Post: 05-23-2008, 12:39 PM
  2. Databases, and how they work
    By Lurker in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 08-14-2003, 11:22 PM
  3. C++ and Databases question
    By RyanPincher in forum C++ Programming
    Replies: 1
    Last Post: 02-04-2003, 09:00 AM
  4. Databases
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 02-22-2002, 11:10 AM
  5. databases and C
    By Garfield in forum C Programming
    Replies: 13
    Last Post: 10-21-2001, 06:03 AM

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