Friday, December 3, 2010

Code challenge 1


Today's code challenge is to write some code that takes a hand-drawn shape and draws a perfect shape in it's place.

There are two shapes to try:
  1. A rectangle (easier)
  2. A circle (harder)
Download the Visual Studio 2010 project from here.

The task is to write your own implementation of the FindRectangle() and FindCircle() methods found in the ShapeFinder class.

You are free to write any other supporting methods or classes that you need. Try to come up with your own solution before you hit Google.

Further details are included in the ShapeFinder class.

Good luck!

No comments:

Post a Comment