Hi, I have a 16 bit DOS app and am getting link errors, first here is my code to get a picture of what im doing:
Now, here are the errors Im getting:Code:#include <dos.h>
#include <graphics.h>
#include <conio.h>
int main()
{
int gdriver = DETECT;
int gmode = IBM8514LO;
initgraph(&gdriver, &gmode, "");
putpixel(0, 0, 0);
getch();
closegraph();
return 0;
}
Undefined Symbol _initgraph in module dos.cpp
Undefined Symbol _closegraph in module dos.cpp
Undefined Symbol _putpixel in module dos.cpp
Were is my mistake?