Creating a pie-chart using C++ with the help of pre-defined header files and functions.
In this packet, I have created a pie-chart using C++.
In C++, by using some special pre-defined header files and the pre-defined functions, we can create a pie-chart.
The pre-defined functions used here are settextstyle(), outextxy(), getmaxx(), getmaxy(), setfillstyle() and pieslice().
The pre-defined header files used are graphics.h and conio.h. Especially, by using setfillstyle(), pieslice() and outextxy() functions, we can define the specific area of the pie-chart.
Submitted by Sai Baba Kotha (Sai)
Download packets of source code on Coders Packet
Comments