CSCI 261 - Programming Concepts - Spring 2022

Lab 2E - Makefile Multicompilation

This lab is due by Friday, February 18, 2022, 11:59 PM.
As with all labs you may, and are encouraged, to pair program a solution to this lab. If you choose to pair program a solution, be sure that you individually understand how to generate the correct solution.

To gain more practice with Makefiles, as well as provide experience tracing functions, you're given a starter program.

Your task for this lab is to create a project consisting of multiple files.


Instructions


Create a new folder and call it L2E. Once you have your empty folder, open L2E_starter.zip and copy the contents to your folder. .

There are two main tasks outlined in the README.

  1. Refactor the code to add function prototypes in a separate header file with the function definitions implemented in a separate source file.
  2. Use the debugger to add a breakpoint and investigate the call stack as you move through the function calls.

Lab Submission


Submit your calculator_functions.h, calculator_functions.cpp, main.cpp, Makefile, README.txt file(s).

You will submit your solution to this lab with the rest of Set2. Detailed instructions for doing this are posted in Assignment 2.


This lab is due by Friday, February 18, 2022, 11:59 PM.
As with all labs you may, and are encouraged, to pair program a solution to this lab. If you choose to pair program a solution, be sure that you individually understand how to generate the correct solution.