Thread: Databases

  1. #1

    Smile Databases

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

  2. #2
    Registered User
    Join Date
    May 2002
    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
    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, 11:39 AM
  2. Databases, and how they work
    By Lurker in forum A Brief History of
    Replies: 2
    Last Post: 08-14-2003, 10: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
    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, 05:03 AM