当前位置:网站首页>The order of include header files and the difference between double quotation marks "and angle brackets < >
The order of include header files and the difference between double quotation marks "and angle brackets < >
2022-07-06 09:15:00 【it_ xiangqiang】
Double quotes ”” And angle brackets <> The difference between
- Include The order of header files
- The difference between double quotation marks and angle brackets :
- Current header file directory
Include The order of header files
about include For the header file , If it's in the file a.h Declare a in the file b.h
Variables defined in , Without reference b.h. Then you have to be in a.c Reference in file b.h file , And first quote b.h, Post reference
a.h, Otherwise, the report variable type does not declare an error .
The difference between double quotation marks and angle brackets :
The path to find the header file in the compiler preprocessing phase is different .
For header files contained in double quotation marks , The order to find the header file path is :
Current header file directory
Header file path set by compiler ( The compiler can use -I Explicitly specify the search path )
System variables CPLUS_INCLUDE_PATH/C_INCLUDE_PATH Specified header file path
For header files included with angle brackets , The order of searching the header file is :
Header file path set by compiler ( The compiler can use -I Explicitly specify the search path )
System variables CPLUS_INCLUDE_PATH/C_INCLUDE_PATH Specified header file path
边栏推荐
- Kratos ares microservice framework (III)
- LeetCode:387. The first unique character in the string
- Different data-driven code executes the same test scenario
- [OC foundation framework] - string and date and time >
- Advanced Computer Network Review(4)——Congestion Control of MPTCP
- Redis之性能指标、监控方式
- Redis cluster
- Redis之哨兵模式
- [OC-Foundation框架]--<Copy对象复制>
- 【图的三大存储方式】只会用邻接矩阵就out了
猜你喜欢

Kratos ares microservice framework (I)

【文本生成】论文合集推荐丨 斯坦福研究者引入时间控制方法 长文本生成更流畅

CUDA implementation of self defined convolution attention operator

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower

LeetCode:124. Maximum path sum in binary tree

Improved deep embedded clustering with local structure preservation (Idec)

BMINF的后训练量化实现

Alibaba cloud server mining virus solution (practiced)

Once you change the test steps, write all the code. Why not try yaml to realize data-driven?

Mise en œuvre de la quantification post - formation du bminf
随机推荐
Five layer network architecture
Intel Distiller工具包-量化实现1
Advanced Computer Network Review(5)——COPE
Heap (priority queue) topic
LeetCode41——First Missing Positive——hashing in place & swap
Redis之主从复制
Kratos战神微服务框架(二)
五层网络体系结构
Pytest之收集用例规则与运行指定用例
Kratos战神微服务框架(三)
Leetcode problem solving 2.1.1
[OC foundation framework] - string and date and time >
Alibaba cloud server mining virus solution (practiced)
[OC-Foundation框架]-<字符串And日期与时间>
Selenium+Pytest自动化测试框架实战(下)
Pytest parameterization some tips you don't know / pytest you don't know
Notes 01
Redis之持久化实操(Linux版)
Leetcode: Jianzhi offer 04 Search in two-dimensional array
Advanced Computer Network Review(4)——Congestion Control of MPTCP