notes/education/software development/ECE1400/Chapter 15 Exercises.md

13 lines
578 B
Markdown
Raw Normal View History

2024-11-11 03:31:05 +00:00
> **1.** Section 15.1 listed several advantages of dividing a program into multiple source files.(a). Describe several other advantages
> (b). Describe some disadvantages
---
2024-11-11 03:36:05 +00:00
> **2.** Which of the following should *not* be put in a header file? Why not?
b. Function definitions - Functions should only be defined once, and this allows multiple files to share the same function definition
---
> **3.** We saw that writing `#include <file>` instead of `#include "file"` may not work if file is one that we've written. Would there be any problem with writing `$include "file`