Lecture overview -- Keyboard shortcut: 'u'  Previous page: Structs in C++ -- Keyboard shortcut: 'p'  Next page: The structure of a declaration -- 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 5 : 42

Declarations and definitions
It is important to be able to distinguish between declarations and definitions
decl-def.cc
Illustration of declarations and definitions - everything is fine.
decl-def-problems.cc
Illustration of declarations and definitions - several problems.
A definition is a declaration - a declaration is not necessarily a definition