TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: MATTHEW DUHART
from: STEVEN READ
date: 1997-08-09 15:32:00
subject: Problem with initgraph

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)

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™.