ZiBaT => Peter Levinsky => Programming => exercise

Components
Calculator + DLL + Exchange

Updated : 2015-08-24

Component - library - part 1

Mission:

To design and implement a Math-Class (es) and provide it as a library (dll-file).
You must document and test the class (es) before it is released as a DLL-file.

Exercise:

 

Create a Portable Library – project (e.g. ‘SharedCalculator’)
Design and implement a class (or several classes) that support basic calculation operations.
You must at least have addition, subtraction, multiplication and division. But for inspiration look at these calculators

calculator 1 calculator 2 calculator 3

You must make Unit test to ensure that you class (es) are working correctly.
For reminding or refreshing see

For reminding or refreshing of comments see


Hand in (what to deliver)

You must save the dll-file (i.e. not the project!).
The dll-file you find in ‘your-project-path’\bin\debug or ‘your-project-path’\bin\release (depending on your compiler directive debug /release)

I'll take a USB-key with me so I can get a copy