We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e440d commit 90dff0dCopy full SHA for 90dff0d
Chapter13/README.md
@@ -40,3 +40,6 @@ Make the cosine blue.
40
41
## [Drill 12](drill/12)
42
Write a function `sloping_cos()` that adds a cosine to `slope()` (as defined above) and add it to the window.
43
+
44
+## [Drill 13](drill/13)
45
+Define a `struct Person` containing a `string` name and an `int` age.
Chapter13/drill/13/Person.h
@@ -0,0 +1,11 @@
1
+#ifndef PERSON_H
2
+#define PERSON_H
3
4
+#include <string>
5
6
+struct Person {
7
+ std::string name;
8
+ int age;
9
+};
10
11
+#endif
0 commit comments