lab3_writeup - cs221 lab3 1\/2 Your work for this must be finished and shown to your lab TA the end of this lab session or the start of your next session

lab3_writeup - cs221 lab3 1/2 Your work for this must be...

This preview shows page 1 - 2 out of 2 pages.

cs221 lab3 1/2 Your work for this must be finished and shown to your lab TA the end of this lab session or the start of your next session. Download the lab files from the course web page (in lab3.zip) and extract them into a new sub- directory (“lab3”) of your “cs221” directory. Make that your current working directory and then run “make dates” to get an intial compile for Q1, and do a test run. The commands needed to do everything specified in the above paragraph (except downloading the code and extracting its contents) are given below. This assumes you are currently in your home directory, which is the directory you are in after successfully logging in to your account. cd cs221 mkdir lab3 Put the extracted files into cs221/lab3 now cd lab3 make dates ./dates Q1. Complete the missing code in “CDate.cc”. You do not need to change any other file for this question, but you need to understand what they do, and how they are used. The dot-h file (or “header”) contains the class declaration, and it's #include'd in both its associated dot-cc file, and any other files that need to use CDate objects (in this lab, just the dates.cc file).
Image of page 1
Image of page 2

You've reached the end of your free preview.

Want to read both pages?

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture