[From Bruce Abbott (941029.1640)]
Tom Bourbon (sometime awhile back) --
Tom, although I don't seem to be able to find my copy of it, I recall your
saying that you had been able to compile my VI-VI simulation but not Bill's.
I would guess that your problem was that the compiler could not find the BGI
graphics files required by the program. Bill's program assumes that they can
be found in the current subdirectory.
I would suggest that all of us define in our graphics-oriented programs a
string constant similar to the following:
const
BGIDIR = 'c:\bg\bgi';
where the stuff in quotes is the drive\directory in which the graphics files
reside. The initgraph statement (found in Bills graphics initialization
procedure) then should be modified to read as follows:
initgraph(graphdriver, graphmode, BGIDIR);
(Bill's programs have the empty string [''] where BGIDIR is above.)
Defining the drive\directory string in BGIDIR makes it easy to find at the top
of the program, and thus easy to modify to suit our own particular directory
setups.
Bruce