Take your node class from Project 2 (yours or mine) and add the following operators to it
Add a ++ operator to increment the grade by one
Add a + operator to add the grades of the two nodes together
Add a < operator which will return true if the first grade is less than the second
Add a << operator (so that you can directly print your nodes without having to use the accessors.
Add an == operator to check if the name and grade are the same.
Add a = operator to the nodes as well
Add a demonstration of each of these operators in action.
Readme:
Make sure to include the usual readme.txt
It should include
- Your name
- your description on how you implemented the lab
- your compile/link commands (whatever I need to do to make your project.)
- Anything that is left undone.
Submission:
zip up your folder with all code and the readme as before