www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/10/23/05:21:23

To: djgpp AT delorie DOT com
Subject: GRX
Message-ID: <19961022.201644.9118.0.waldo666@juno.com>
From: waldo666 AT juno DOT com (Will C Stockwell)
Date: Wed, 23 Oct 1996 00:57:34 EDT

Ok, I used my brain and looked at the source for help with GrSetMode:-).
But now I can't compile this program that draws a line. The
compiler(gcc.exe of course) says I have an undefined reference to
GrSetMode and GrLine. Here's my code, what did I do wrong? Thanks. Any
help would be great. I really want to make programs using graphics, but
this is holding me back.

#include "stdio.h"
#include "grx20.h"

main()
{
	GrSetMode(GR_width_height_graphics,640,480);
	GrLine(150,150,300,300,3);
}

Thanks. 

Will Stockwell
mailto:waldo666 AT juno DOT com
http://www.geocities.com/SiliconValley/Park/5981/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019