Frameworks and Components

Review Questions

1.

For each of these items, list whether it would be found in a header (.h) file or an implementation (.cpp) file, and why.

  1. Function definitions
  2. Function declarations
  3. Static object declarations
  4. Static object definitions
  5. Class definitions
  6. Class declarations
  7. Inline function definitions
  8. Inline function declarations
  9. Default argument specifiers

2.

What is the difference between a compile-time dependency and a link-time dependency?

Категории