Adapt the operator exercise for the essentials course and day 1 of the advanced course. #573
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This exercise is used both in the essentials and the advanced course.
<=>.<=>is discussed on the third day.Here, all mentions of
<=>are removed (there is a dedicated exercise onthe third day of the advanced course), and the mention of hidden friends now
refers only to the advanced course.
I'm unsure if we should provide an extra solution for the essentials course that
doesn't use the
friendkeyword anywhere?Furthermore, the diff between the original file and the solution was minimised, so
viewing the solution with a diff program is hopefully helpful for students.
Lastly, the syntax of the CHECK macro has been simplified by removing its first argument.
This will hopefully help a bit to focus on the operators.