For an example of exactly the kind of problem that @congvan is correctly pointing out, see this recent post: I'm confused with types names . Including a file multiple times will result in different types with the same name and is likely to create all kinds of confusion.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to divide a project into files and submodules? | 5 | 231 | August 14, 2025 | |
| Including files within a single module | 1 | 268 | May 26, 2022 | |
| Organization of multiple modules in same package | 18 | 5428 | May 4, 2021 | |
| What is the preferred way to use multiple files? | 15 | 8239 | October 25, 2024 | |
| Large programs: structuring modules & include such that to increase performance and readability | 14 | 4677 | October 4, 2019 |