#include <graphics.h> int main() { int gd = 0, gm = 9; initgraph(&gd, &gm, NULL); pieslice(100, 100, 0, 360, 50); delay(2000); return 0; }
codeaft@codeaft:~$ g++ codeaft.cpp -lgraphcodeaft@codeaft:~$ ./a.out