Results 1 to 6 of 6

Thread: Databases in DOS C++

  1. #1
    Guest

    Post

    Is there anyway i can use a datbase in DOS C++, and if so, how?

  2. #2
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    You can read a database using C++, but depending on the format of the database and what you are going to do with it, it might be better to use VB.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  3. #3
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    The Netherlands
    Posts
    386
    What if you made a MORPG in C and you wanted to write and read data from a database? Is there any specific way to do it in C?

  4. #4
    Frenzied Member
    Join Date
    Jul 2002
    Posts
    1,370
    Back in DOS days, "databases" like dBase had interfaces like Clipper. These provided calls you could make for low level languages like Turbo C++. There also were libraries available for things like UserBase and Sbase, etc. These were part of the Vermont Tools library, for example. Lattice C (Waite C & C++)also had toolkits.

    If you could tell us what database you're trying to mess with, maybe I can scrounge up a link library (toolkit)

  5. #5
    Fanatic Member
    Join Date
    Jan 2003
    Posts
    1,004
    You could always make your own data files, albeit a little primitive. I suggest using the ifstream if you are jsut reading it in, otherwise go with fstream.

    NOTE: I doubt that the original poster is going to answer. The post is a little old.
    "Can't" and "shouldn't" are two totally separate things.

    All questions should be answered. All answers should be true. That is why I post.

  6. #6
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    A poster that's not even in the database anymore.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width