首页 > 解决方案 > Should this library file actually be in the header files instead?

问题描述

I got this flowchart from a book on C.

the flowchart

I get the differences between headers and libraries, however in my understanding shouldn't header files be the code before compilation and not library files.I still don't understand this flowchart 100%. Is it wrong or am I the one wrong here?

EDIT: The name of the book is "Introduction to C Programming" by "Reema Thareja"

标签: c

解决方案


图片可能意味着您的源文件 #include文件也是库的重要组成部分。


此外,C 标准术语中的标头是为来自系统的内容保留的,不必是文件;如果您有自己的文件#include,那么它也称为源文件


推荐阅读