can u pls help me how to create piechart in c.
thanks in advance
Review your trignometry, Sine, Cosine to be exact.
There are ways to do it without trig, but trig is the simplest!
You can also do it with two bitmaps. One contains an image.
The second contains an alpha gradient. Ranging from 0% and the other 100%. The alpha percentile indicates how wide to cut the notch in the pie! Essentially the two pie pieces are alpha blit into each other and the background.
On Windows, simply use the Chart control.
a pie char you must use graphics function or maybe like draw one by * but that will get somewhat confusing because u have to make it according to your % stuff