Pages

01 August, 2010

Exercise 6 (part 1) – Multi-file DLL project

For his 6th exercise, Prashant suggests writing a 

Scientific calculator supporting addition, subtraction, multiplication, division, square-root, square, cube, sin, cos, tan, Factorial, inverse, modulus.

In planning my solution to this exercise, I thought it would be cool to write a DLL (a Class Library in .NET parlance) to be the core engine of the calculator, and then write a console-based front-end.  Later, when I’m learning WPF I can write a graphical front-end to the same DLL.