2 ms·
>to add a .h to where ever you need to call those function No, it can be in a single place and you can just #include it. >This .h will need to know if it got
by charcircuit 5y ago
>to add a .h to where ever you need to call those function
No, it can be in a single place and you can just #include it.
>This .h will need to know if it got included multiple times, and so isn't just a trivial declaration.
This is the point of using header guards.
>It's just easier to have a single .h you include.
Depending on the build tool it's the same or only marginally easier (you save like 10 characters)