Grafik dalam C menggambar garis
#include<graphics.h>
main()
{
int driver, mod;
driver = VGA;
mod = VGAHI;
initgraph(&driver, &mod,"C:\\tc\\bgi");
setcolor(RED);
line(0,0,320,240);
getch();
closegraph();
}
Baqir Ali