On 08-05-97 (09:50) MATTHEW DUHART wrote to ALL,
about a PROBLEM WITH INITGRAPH
---------------------------------------------------------------------------
MD> Hi, I seem to be having !ymany many many errors with Turbo C++. I
MD> entered a program out of a book, checked it over many times, had other
MD> people check it over, and compiled it. I always get 1 warning and 5
MD> errors. The errors always have to do with stuff like initgraph,
MD> setcolor, lineto, moveto, etc. I also try running other programs
MD> included with Turbo C++ and they always conclude with the same errors I
MD> get! Here's an example of the program TENDRILS.CPP:
MD> // tendrils.cpp
MD> // draws "biological" forms
MD> #include
MD> #include
MD> #include
MD> #include
MD> #include
Same symptoms here. Do the following (at least for TC3.0)
to the IDE setup to make it use the graphics.h file.
-------------------------------------
Using Borland's Turbo C++ 3.00
sift thru the drop-down menus
Options | Linker | Libraries
and make sure that this is X'd
[X] Graphics library
-------------------------------------
Now recompile. Your example program worked fine as posted.
Steve, in western New York state (USA)
---
* QMPro 1.53 * steven.read@pcohio.com
--- InterEcho 1.19
---------------
* Origin: PC-Ohio PCBoard * Cleveland, OH * 216-381-3320 (1:157/200)
|