Reputation: 33
Let's say I have a file with a couple of functions, written in C.
What should I do to turn that file into a header file, so that I can #include
it into programs in future?
Upvotes: 0
Views: 149
Reputation: 1254
#include just copy pastes the file in place. You don't have to do anything to make a file "includable."
That said, there are some best practices:
Upvotes: 2