Generate a “pieslice” in C without using the pieslice() of graphics.h
问题 In the BGI library's "graphics.h" header there is a function pieslice in that header file,its syntax is: #include <graphics.h> void pieslice(int x, int y, int stangle, int endangle, int radius); [x,y are the center of the circle,stangle and endangle are the starting and end angles respectively] Can we make a pieslice in C/C++ without using this in-built function of the BGI library.Please help. Tried making it with the help of the lines and mid-point circle generation algorithms. My code so