Lecture 17

Here is the code (and data) for the C++ implementation of the power method plus the dll. You build the DLL as a Win32 Project using powerunit.cpp, interface.cpp and bad.def (be sure to name the project 'bad', and to build it as a DLL).
BUT: place CLOSE attention at the actual compilation error. This is toward the bottom of the compilation output. The first warning is also related.
Here is a file that you can use to test the DLL.