为了保证头文件在给定的源文件中只处理过一次,我们首先检测 #ifndef。
To guarantee that the header is processed only once in a given source file, we start by testing the #ifndef.
这个头文件包含共用的定义和过程。
This header file contains common definitions and procedures.
实现这一支持不需要包含头文件。
这就是我包含那个头文件的原因。
可以在头文件中定义函数原型。
好吧,我需要包含一个头文件。
Well, I include what's called a header file as we'll call it.
它是用于Web服务的头文件。
这非常类似于c编程语言中的头文件。
This is very similar to a header file in the C programming language.
将安全性插件的头文件包括到插件中。
首先,包含所需的头文件。
可以在头文件中编写原型。
为头文件和实体文件创建不同的扩展。
这个结构可以通过包含下面的头文件来访问
This structure can be accessed by including the following header file
头文件包含在客户机和服务器源代码文件中。
The header file is included in the client and server source files.
特别是您还要有与php安装相关的头文件。
Specifically, you must have the header files associated with your PHP installation.
该工具将解析头文件并生成粗略的定义文件。
This tool will parse a header file and generate a rough definitions file.
在一个项目的范围内,很少对头文件进行修改。
The header files are modified only rarely during the scope of a project.
如果无法使用这个预编译头文件,那么将忽略它。
If the precompiled header file can't be used, it is ignored.
清单8中的头文件包含要探查的函数和类的原型。
The header file in Listing 8 contains the prototype of the functions and classes you are probing.
头文件通常可以在Include文件夹中找到。
拷贝头文件和库文件。
这么做基本上是自己从写好的文档中重新创建头文件。
Doing that is basically recreating the header file yourself from the written documentation.
清单2:libprint . h代码;头文件。
在头文件中为该虚函数所生成的代码如列表2中所示。
The code generated for the virtual function in a header file is shown in Listing 2.
更新头文件。
将二进制文件,库文件和头文件放在一致的逻辑位置。
Place binaries, libraries and header files in a logical and consistent location.
第一个是头文件(.h),用于声明类接口;
The first is the header (.h) file that declares the interface of the class.
列表3.在头文件中为一个内联函数所生成的代码。
Listing 3. Generated Code for an inline function in header file.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
因此,头文件应该包含函数的原型和一个虚拟的函数定义。
Therefore, the header file should include the prototype of the function and also a dummy function definition.
应用推荐