We have been learning C and it might seem like a stupid question to ask. I want to know who exactly writes header files. I know that they have predefined functions in them and can be accessed as per need.
The header files that come with your compiler are written by the authors of your compiler and C library. Header files for third-party libraries are written by the authors of those libraries. Header files for your software are written by you.
Header files are written by the programmers to export the library functions or class. Header files may used to define classes, macros , member functions, structures, variables etc. if you make some changes in header files of your library it may affect your library functions. You have to recompile the library before use.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With