Here is one of the first C++ programs that I wrote.
It is basically an implementation of an algorithm I thought of to calculate the area of any regular polygon.
It also has the capability to accurately "calculate" the name of any polygon that has 0-100 sides.
You can download the program and source code here.
The C++ source code has been released into the public domain.
Posted on March 17th, 2010