ZiBaT => Peter Levinsky => Programming => exercise

Brush up
Calculator + DLL + Exchange

Updated : 2015-08-24

Brush-up - 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.
In part two you are randomly provided with a dll-file from another class mate, where you must implement a User Interface that make use of the provided functionality of the class (es)

 

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

You must document your class (es) using doxygen.
For reminding or refreshing see

 

Hand in (what to deliver)

You must save the dll-file together with the doxygen html-files on an usb-key (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)