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
Copy file name to clipboardExpand all lines: Chapter13/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -64,3 +64,6 @@ Modify the constructor to check that `age` is [0:150) and that `name` doesn't co
64
64
65
65
## [Drill 20](drill/20)
66
66
Read a sequence of `Person`s from input (`cin`) into a `vector<Person>`; write them out again to the screen (`cout`). Test with correct and erroneous input.
67
+
68
+
## [Drill 21](drill/21)
69
+
Change the representation of `Person` to have `first_name` and `second_name` instead of `name`. Make it an error not to supply both a first and a second name. Be sure to fix `>>` and `<<` also. Test.
0 commit comments