Mail Archives: djgpp/1996/10/23/05:21:23
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 -