I have a few questions about libraries and header files. Since libraries are binary files and header file are source/text files why do they not just compile the header files along with the rest of the library files? It doesn't make sense to me to have libraries that are binary file and thus not editable but package them with source/text files that can be easily edited including edits that don't match the libraries they support.
Also. Since C the programming language is so small without the standard library how was the standard library created? How are any libraries created? I read that although a lot of GUI based programs are created in C, C is actually only capable of creating graphics with the aid of libraries, how are these libraries created?