How to read Records in X-Base files thru C/c++

This is a discussion on How to read Records in X-Base files thru C/c++ within the C++ Programming forums, part of the General Programming Boards category; Please suggest me something how to read records from .DBF files thru C++/C....

  1. #1
    Registered User
    Join Date
    Sep 2003
    Posts
    3

    Unhappy How to read Records in X-Base files thru C/c++

    Please suggest me something how to read records from .DBF files thru C++/C.

  2. #2
    Registered User
    Join Date
    Jul 2003
    Posts
    18
    Use a Comma Seperated File for the records and then using the comma and the newline operator as a delimiter you can read the data in.

    If you want to connect to the database directly there are many ways to do this and depends on the platform.

    On Windows flavors you cud use the OLEBD object collection to read data from the database or any file.

    In Unix you cud use the Rogue Wave libraries that cud help you to read the data from a file.

    Hope this helps.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code review
    By Elysia in forum C++ Programming
    Replies: 71
    Last Post: 05-13-2008, 09:42 PM
  2. "sorting news" assignment
    By prljavibluzer in forum C Programming
    Replies: 7
    Last Post: 02-06-2008, 05:45 AM
  3. How to read files into a struct
    By verbity in forum C Programming
    Replies: 16
    Last Post: 11-24-2006, 02:39 PM
  4. Read INDEX.DAT files?
    By Queatrix in forum Windows Programming
    Replies: 3
    Last Post: 09-08-2006, 08:03 AM
  5. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 10:46 AM

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