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
Foundational Including code through standard library headers
15
15
16
-
Main Organize function and class declarations into reusable
17
-
files for inclusion into others
16
+
Main Write headers to support separate compilation and code
17
+
organization
18
18
19
19
Advanced --- (inlining? templates? hygiene, such as using namespace?)
20
20
@@ -55,7 +55,7 @@ _Max 5 items._
55
55
56
56
A student should be able to:
57
57
58
-
1. Include common standard library headers to get access to commonly used declarations
58
+
1. Include common standard library headers to get access to standard library features
59
59
60
60
#### Caveats
61
61
@@ -69,9 +69,12 @@ _This section lists important details for each point._
69
69
* Usage of standard library code requires inclusion of various header files
70
70
* Give examples of various header files and when they may be needed for inclusion
71
71
* Include links to reference materials for finding out what headers are used for various feature sets
72
+
* When using standard library facilities, can either use `using std::vector; vector<int> v;`, or `std::vector<int> v;`, or `using namespace std; vector<int> v;`, though modern practice strongly discourages invoking `using namespace std;`
72
73
73
74
### Main: Organizing function and class declarations for reuse
74
75
76
+
_Description: Write headers to support separate compilation and code organization_
77
+
75
78
#### Background/Required Knowledge
76
79
77
80
* All of the above
@@ -107,6 +110,7 @@ A student should be able to:
107
110
_These are important topics that are not expected to be covered but provide
108
111
guidance where one can continue to investigate this topic in more depth._
0 commit comments