I am using the Borland C++ 3.1 (quite old, eh?). Anyway I wish to display some pixels on the screen and I use the putpixel function of the graphics.h library. I only use the function once in the following part of the code:
if ((z.real)>2)||(z.imag<(-2))){
putpixel (c.real,c.imag,15);
continue;
};
When I link the code I get a linker error that the _putpixel symbol is undefined in the mandel.cpp module (the filename of my program). I don't seem to understand this error message. I have used the #include <graphics.h> command. I am missing something here? I would appreciate any help.
P.s.: I am a newbie in C programming, so please excuse me in the possibility that this question is quite silly.