Hi ,
i want to compile this.
error message is that graphics.h is not found. fatal error
how to tell clang compiler where it is ?
the result of this code is a simple green rectangle.
i want to compile this.
C:
#include<graphics.h> /* header file */
#include<conio.h>
main()
{
/* the following two lines are the syntax for writing a particular
program in graphics. It's explanation is given after the program.*/
int gd = DETECT, gm;
initgraph(&gd, &gm, "C:\\TC\\BGI");
setbkcolor (GREEN);
getch();
closegraph();
return 0;
}
how to tell clang compiler where it is ?
the result of this code is a simple green rectangle.