In this lab, you'll practice defining and using structs to solve programming tasks.
By the end of this lab, you should be more comfortable...
- defining structs
- declaring structs
- passing structs to functions
- using vectors of structs
- using structs with vector data members
- using structs of structs
Work on the following zyLab. While you work on it, be sure to implement incrementally—complete one TODO, then compile/run it. Test frequently by clicking "Submit mode" and then "Submit for grading". You have unlimited submits, so don't worry about using some quota up.
- zyLab 16.40: Upcoming assignments
After you are finished these, please work on one of the PAs below, or one from Lab 10 for the remainder of lab.
Click "Submit mode" then "Submit for grading" when you are finished so I can see that you have done the zyLab. Your grade for the lab is based on effort, not whether you complete all of the assigned problems; you will get full credit as long as you work diligently during the 2-hour lab period.
Please see the syllabus and course schedule (both on the homepage) for more information about how many programming assignments you are required to pass, due dates, etc. Of note: you do not need to attempt every or even most PAs.