Also known as header, copybook
file containing source code with declarations to be textually substituted by users
In the Vinony graph
Within Vinony's link graph, 头文件 connects to include directive.
Its subject is documented across 22 Wikipedia language editions.
Wikidata facts
- Subclass of
- file format
- Has part
- function prototype
Show 5 more facts
- Stack Exchange tag
- stackoverflow.com/tags/header-files
- different from
- header
- file extension
- hpp
- used by
- include directive
- contains
- source code
Sources (1)
via Wikidata · CC0
Article · 中文
在程序设计中,特别是在C语言和C++中,头文件或包含文件是一个文件,通常是源代码的形式,由编译器在处理另一个源文件的时候自动包含进来。一般来说,程序员通过编译器指令将头文件包含进其他源文件的开始(或头部)。 一个头文件一般包含类、子程序、变量和其他标识符的。需要在一个以上源文件中被声明的标识符可以被放在一个头文件中,并在需要的地方包含这个头文件。 在C语言和C++中,标准库函数习惯上在头文件中声明,参见C标准函式库和C++标准函式库。
Abstract from DBpedia / Wikipedia · CC BY-SA