Declaring vs defining
Declaring establishes the item’s type and name: “function x exists”
Defining establishes the item’s purpose “this is what function X does”
Compiler error will result if you try to use something undefined
Header and source files
Header files (.h) contain relevant declarations
Source files (.cpp or .c in C) contain code definitions
Source and header files then #include other header files with needed definitions.
Using C++ resources
Uses #include and
Less extensive than Java’s resources
Very common inputs: and