From this point on, our examples will assume that using
declarations have been made for the names we use from the standard library. Thus, we will refer to cin
, not std::cin
, in the text and in code examples.
Moreover, to keep the code examples short, we won’t show the using
declarations, nor will we show the necessary #include
directives. Table A.1 (p. 866) in Appendix A lists the names and corresponding headers for standard library names we use in this Primer.
Readers should be aware that they must add appropriate #include
and using
declarations to our examples before compiling them.