31 Jul 97, BRAD CARSON of 1:253/100 wrote to GERRY DANEN
GD> I wouldn't think so. It would either be Microsoft or Borland.
GD> Did you say you had Turbo C or Turbo C++? No C compiler will
GD> compile C++ programs...
BC> As I said before, I'm not sure.. I have Turbo C++. It
BC> wouldn't work with that. Hell, it's OWN examples wouldn't
BC> work with it. Something was wrong with it or something.. I
BC> tried to compile this example CIRCLE.CPP that came with it
BC> and it reported errors in the GRAPHICS.H.. Like undefined
BC> symbol _closegraph etc..
Hmm, if you're talking about TC++ 3.0 for Dos, I remember that there was a
typo in the manual and example files using the BGI graphics library. It's in
the call to the initgraph() function. The last of three variables you have to
give to this function is the path to your BGI directory. If you correct this
( so instead of "", something like "..\\BGI" or "C:\\TC\\BGI" or wherever
your BGI resides ), the examples should work.
Of course you should also tell the IDE to link the graphics lib, and
preferebly use the large memory model when using this not real fast graphics
implementation.
Hope this helped... ;-))
BC> -Brad Carson
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)
|