头文件一般包含:
类型定义
模板声明
模板定义
函数声明
内联函数定义
数据声明
常量定义
枚举
包含指令
宏定义
注释
条件编译指令
““和<>搜索路径的区别--引自MSDN
""
This form instructs the preprocessor to look for include files in the same directory of the file that contains the #include statement, and then in the directories of any files that include (#include) that file. The preprocessor then searches along the path specified by the /I compiler option, then along paths specified by the INCLUDE environment variable.
<>
This form instructs the preprocessor to search for include files first along the path specified by the /I compiler option, then, when compiling from the command line, along the path specified by the INCLUDE environment variable.
--------------------next---------------------
阅读(136) | 评论(0) | 转发(0) |