From: "Tony O'Bryan" Newsgroups: comp.os.msdos.djgpp Subject: Re: trouble with graph.h Date: Sat, 22 Nov 1997 19:44:04 -0600 Organization: Southwest Missouri State University Lines: 17 Message-ID: <34778A64.609F@nic.smsu.edu> References: <19971123012001 DOT UAA27801 AT ladder01 DOT news DOT aol DOT com> Reply-To: aho450s AT nic DOT smsu DOT edu NNTP-Posting-Host: jim.a50.smsu.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk DidUReally wrote: > > Man I'm just so lost. I'm learning to program in C with djgpp. I'm trying to > compile a source example that was written for the watcom c compiler and I'm > having trouble figuring out how to convert the code. > My compiler is asking for graph.h - which I don't have !?! What can I > possibly do less than buying watcom's c/c++ compiler ($350). Graphics are not defined as part of the C language. If Watcom includes a graphics library as part of the distribution, it is non-portable. Unless you have a wrapper file that translates the Watcom graphics commands to some library DJGPP uses, then you will have to do the translation by hand. If you don't know C, then that is a significant problem. Download a DJGPP-specific graphics package (I recommend Allegro for a variety of reasons. The great documentation being a highpoint for beginners and experts alike) and learn how to use it with DJGPP.