Index of /courses/undergraduate/201/source/libraries/borland
Name Last modified Size Description
Parent Directory
INSTALL.BAT 01-Sep-94 16:28 1k
dos/ 26-Aug-97 15:33 -
include/ 26-Aug-97 15:33 -
windows/ 26-Aug-97 15:33 -
README file for cslib/borland directory
Last modified on Tue Aug 2 11:16:36 1994 by eroberts
------------------------------------------------------------------------
This directory contains an implementation of the libraries used in
conjunction with "The Art and Science of C" (Addison-Wesley, 1995)
tailored for use in the Borland C/IBM PC environment.
There are two versions of the library supported in subdirectories within
this package. The dos subdirectory contains a simple implementation for
DOS applications. This package implements only the basic graphics.h
operations and does not implement the extended features available in
extgraph.h. The windows package is designed for use with Microsoft
Windows and contains a complete implementation of both interfaces.
INSTALLATION NOTES:
To install the library, execute the following steps:
1. Find where the Borland C compiler is stored on your system and
connect to that directory.
2. Insert the library diskette in the A: drive.
3. Type A:INSTALL at the DOS prompt.
4. Edit the graphics.c file in the DOS subdirectory and
substitute the correct pathname for the BGI device directory
in the definition of BGIPath. Note that backslash characters
must be quoted with a second backslash.
5. Compile the libraries for the platform (DOS or Windows) that
you wish to use by typing MAKE as the DOS prompt in that
directory.
When you build your application file, you need to set the following
parameters in the project window:
For DOS programs:
Target type = Application
Platform = DOS Standard
Target Model = Large
Standard Libraries: BGI + Runtime
For Windows progams:
Target type = EasyWin
Platform = Windows 3.x(16)
Target Model = Large
Standard Libraries: Runtime
You must also include the cslib.lib file for the appropriate platform
in your application project.
If you do not have access to the Borland MAKE utility, you can compile
the libraries yourself simply by creating a project, adding all of the
source files to it, and compiling that project using "Static Library"
as the target type. Other settings should be as outlined in the table
above.
These libraries are in the public domain and may be freely copied and
distributed, although they remain under development. No warranties are
made concerning their correctness or stability, and no user support is
guaranteed. Bug reports and suggestions, however, are appreciated and
may be sent to
Eric Roberts <eroberts@cs.stanford.edu>