Lecture overview -- Keyboard shortcut: 'u'  Previous page: More manipulators -- Keyboard shortcut: 'p'  Next page: More namespaces -- Keyboard shortcut: 'n'  Lecture notes - all slides together  Annotated slide -- Keyboard shortcut: 't'  Alphabetic index  Help page about these notes  Course home    Basic facilities - slide 37 : 42

Logical program organization
Namespaces are used for the logical program organization of C++ programs

Names declared in a namespace - natively or by using declarations - take priority over names brought in via using directives

namespace-1.cc
Illustration of using declarations and using directives.