You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ALL If the ExerciceSchedule_EssentialCourse.md is up to date, Day 2, there is an exercise about virtual inheritance which seems to me completely irrelevant for beginners. On the contrary, something about object-functions (operator()) would help a lot for the template/stl exercises of Day 3. Either it deserves its own exercise, or it should be integrated in the operators exercise. For example, we may transform printAndCheck() into an object-function which store the maximum title length as a member variable (currently 40).
The text was updated successfully, but these errors were encountered:
chavid
changed the title
Replace virtual inheritance with function-object.
Review beginners exercises Day 2
Feb 12, 2025
extract from current "operators" the creation of a class Fraction, all made with named methods and functions, a make it an introduction exercise about creating a class, with constructors, destructors, assignment.
as a second exercise, "operators", as I suggested in About operators exercise #439, plus the operator() as said above.
@ALL If the ExerciceSchedule_EssentialCourse.md is up to date, Day 2, there is an exercise about
virtual inheritance
which seems to me completely irrelevant for beginners. On the contrary, something about object-functions (operator()) would help a lot for the template/stl exercises of Day 3. Either it deserves its own exercise, or it should be integrated in the operators exercise. For example, we may transform printAndCheck() into an object-function which store the maximum title length as a member variable (currently 40).The text was updated successfully, but these errors were encountered: