CSCI 261 - Programming Concepts (C++)Fall 2017 - Assignment 8 - Share Your ItemQuick Links: Canvas | CS @ Mines | Cloud9 | Piazza | zyBooks |
|||||||||||||||||
| Home | Contact | Syllabus | Assignments | Schedule | Resources | | |||||||||||||||||
This assignment is due
by Tuesday, November 21, 2017 11:59 PM.
The PurposeThe purpose of this homework is to
give you practice using objects of classes written by others. You can
learn how to work with objects from others by looking at the member
functions provided in the class.
The Goal
There are two parts to this assignment. First, you should refactor your
class to only have private data members and a public interface using
getters/setters as necessary. If your class uses helper functions, then
make sure they are appropriately declared as private so a user cannot
inadvertantly call one of them.
Second, you must acquire three other magic items from your classmates to use (see the next section). Include their .h and .cpp files into your project. Then in your main.cpp create objects of these new classes. You can then present the user with a menu as to which magic item they want to use or use all four in sequence. Code SharingBefore sharing your "magic item" class
with another, you should include both your name and CSCI 261 section
number in both files associated with your "magic item" class. In other
words, your "magic item" class is your work; make sure you take credit
for it!
In your
main.cpp
file, also include all names of people you shared your "magic
item" class with.
If you are interested in having others use your awesome "magic item"
class, feel free to post an advertisement on Piazza (with your email
address so students can contact you for a copy of your code). However,
you must follow these rules:
There will be a prize for the author
of the "magic item" class that is used the most!
Functional RequirementsTo receive full credit, the following
requirements must be met:
Grading Rubric
Your submission will be graded according to the following rubric.
Submission
Always, always, ALWAYS update the
header comments at the top of your main.cpp file. And if you ever get
stuck, remember that there is LOTS of help
available.
From your Cloud9 workspace, right
click on the A8 folder in your workspace tree. Select "Download"
from the pop-up menu. This will download a file called A8.zip to your computer. It
contains all the files of your A8 folder (therefore Lab8A,
Lab8B, Assignment8). Now in Canvas, go to Assignments > A8. Upload your
A8.zip file you just downloaded. And voila! Easy
peasy.
This assignment is due
by Tuesday, November 21, 2017 11:59 PM.
| |||||||||||||||||
Last Updated: 11/05/17 20:33
|