Skip to content

Instantly share code, notes, and snippets.

@haruncpi
Created October 6, 2017 06:30
Show Gist options
  • Select an option

  • Save haruncpi/b350fa7fecb1f53b3f57bb8e6ba2291c to your computer and use it in GitHub Desktop.

Select an option

Save haruncpi/b350fa7fecb1f53b3f57bb8e6ba2291c to your computer and use it in GitHub Desktop.
#include<stdio.h>
#include<conio.h>
#include<graphics.h>
void main()
{
int gd,gm;
gd=DETECT;
initgraph(&gd, &gm,"C:\\TC\\bgi");
line(100,100,200,100);
getch();
closegraph();
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment