TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: BRAD CARSON
from: JAN BIJSTERBOSCH
date: 1997-08-08 20:07:00
subject: Tricks.. Guru`s.

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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.