Introduction - If you have any usage issues, please Google them yourself
Using c language implementation line drawing, repeatable draw, you can also set the parameters on-line to modify the color and other attributes, it is the simplest c implementation, of which BGI must be initialized, otherwise program will complain