Hello Steven,
18 Aug 97, Steven Read of 1:157/200 wrote to Jan Bijsterbosch
SR> On 08-08-97 (20:07) JAN BIJSTERBOSCH wrote
JB> Hmm, if you're talking about TC++ 3.0 for Dos, I remember that
JB> there was a typo in the manual and example files using the BGI
Ok, I said manual, but I meant User Guide to be precise...
JB> graphics library. It's in the call to the initgraph() function.
JB> The last of three variables you have to give to this function
JB> is the path to your BGI directory. If you correct this (so
JB> instead of "", something like "..\\BGI" or "C:\\TC\\BGI" or
JB> wherever your BGI resides ), the examples should work.
SR> There is no typo in the docs. From the online help in TC 3.0
SR> it specifically addresses the use and purpose of the null.
SR> ====Begin Quote====
SR> If pathtodriver is null, the driver files must be in
SR> the current directory.
SR> ====End Quote======
Well, in the online help this is correct, but the question was about some
example files in the User Guide. I don't want to start a long thread here,
but when a manufacturer first builds a directory tree to place all the bits
and pieces of his compiler in, and then gives examples on using them, I still
think it's a typo if you don't give the right path to the BGI directory
you've installed it in, without any warning to the ignorent (maybe first
time) user.
Don't get me wrong by the way, I think Borland's online help files in TC++
3.0 are among the best, but anybody can make some mistake somewhere.;-))
SR> Steve, in western New York state (USA)
Greetings from sunny Amsterdam,
Jan
email:bijster@worldonline.nl
http://www.worldonline.nl/~bijster
--- MBM v3.41e
---------------
* Origin: Snuffelaar bij DosBoss West (2:500/121.5122)
|