@@ -28,19 +28,31 @@ _Why do we want to learn/teach this topic?_
28
28
29
29
_ Very brief introduction to the topic._
30
30
31
+ _ TODO:
32
+ _ introduce notion of object file
33
+
31
34
C++ Compilation model allows the developer to seperate their
32
- declarations and definitions into vrious files to build
33
- separately and potentially in parallel so as to reduce rebuild times,
34
- reduce file sizes and scopes, avoid naming collisions, and producing
35
- compiled libraries.
35
+ declarations and definitions into various files so as to:
36
+
37
+ * organize code logically,
38
+ * facilitate reuse,
39
+ * reduce rebuild times,
40
+ * reduce file sizes and scopes,
41
+ * avoid naming collisions,
42
+ * and produce compiled libraries.
43
+
36
44
37
45
### Foundational: Building code from multiple files
38
46
39
47
#### Background/Required Knowledge
40
48
41
49
A student:
42
50
43
- 1 . Knows how to define a variable, function, or class
51
+ 1 . Is able to define a variable, function, or class
52
+ 2 . Is able to access declarations from either module import or header inclusion
53
+
54
+ Questions:
55
+ modules and/or functions?
44
56
45
57
46
58
#### Student outcomes
@@ -53,7 +65,7 @@ A student should be able to:
53
65
54
66
1 . create a declaration for variables, functions, and classes separate from their definitions
55
67
2 . compile and link code from multiple implementation files
56
- 3 . explain how includes work within their translation unit
68
+ 3 . explain how includes or imports work within their translation unit
57
69
58
70
#### Caveats
59
71
0 commit comments