Homework Introduction
Submission
Submit your code in a .zip
, .rar
, or .tar
file.
Please compress source code directly rather than compress the folder containing the code.
Please name your source file as hw8_1.cpp
and hw8_2.cpp
, and submit them respectively to HW8-1
and HW8-2
. Note that the purpose of this homework is to let you practice using class with private data members, so make sure your program follows the following constraints:
- You must implement class MyPoint and MyTriangle and use them for the task.
- You must define x, y and point1, point2, point3 as private.
- You should not define any other data member besides those mentioned above.
For this homework, we will manually check the code you submit on JOJ whether it follows the constraint. Submissions that fail to fulfill the constraints will not be graded.
- Status
- Finished
- Problems
- 2
- Open Since
- 2018-12-01 00:00
- DDL
- 2018-12-05 12:00
- Extension
- 120.0 hour(s)