Is there anyway i can use a datbase in DOS C++, and if so, how?
Printable View
Is there anyway i can use a datbase in DOS C++, and if so, how?
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.
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?
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)
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.
A poster that's not even in the database anymore.