CS520
Spring 2018
Laboratory 4
Friday February 16
The lab must be submitted prior to 12noon on Sunday February 18.


The main task for this lab is to test your implementation of the d2s function. To do this, create a testD2S.c file from the public stub that is available. Model this on the public testS2D.c file that was used for Lab 3. Test (in reverse) the same tests that were used for Lab 3.

Also be sure your source code for the d2s function is properly organized, structured and documented. Be sure your implementation decomposes the problem into a set of functions. Also be sure that you make proper use of the static keyword.

Points for this lab will be awarded in the following way:

Turn in this laboratory by typing:

% ~cs520/bin/submit lab4 d2s.c

Submissions can be checked by typing:

% ~cs520/bin/scheck lab4

Remember that there are no late submissions of labs. Submit what you have prior to 12noon on Sunday February 18. Be careful: one minute late is late.


Last modified on January 19, 2018.

Comments and questions should be directed to pjh@cs.unh.edu