Don't worry, I have time to browse. I'll go spend a couple of hours doing your research for you.
Rashakil Fol
Super Senior Demiposter
2,658 posts since Jun 2005
Reputation Points: 1,135
Solved Threads: 177
>>a sample program of c++ that uses a database
There are several alternative ways to do it, all somewhat complex and require a confortable knowledge of C or C++ language.. The most common approach is ODBC, and you can find a few free c++ ODBC classes -- just do a google search for them.
MS-DOS 16-bit programs can not access 32-bit MS-Windows databases. Any speed you will gain by printing with MS-DOS will be lost by attempting to transfer data between MS-Windows and MS-DOS.
>>I learned that it is more fast in printing in DOS mode program that to windows base
depends on what you want to print. If you want nice looking reports with different fonts and possible different colors then you have to use MS-Windows.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343