当前位置:网站首页>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
边栏推荐
- Implement window blocking on QWidget
- Redis之哨兵模式
- Mongodb installation and basic operation
- Le modèle sentinelle de redis
- [Hacker News Weekly] data visualization artifact; Top 10 Web hacker technologies; Postman supports grpc
- Reids之删除策略
- Multivariate cluster analysis
- LeetCode:673. Number of longest increasing subsequences
- Improved deep embedded clustering with local structure preservation (Idec)
- SAP ui5 date type sap ui. model. type. Analysis of the parsing format of date
猜你喜欢
Problems encountered in connecting the database of the project and their solutions
Redis之Bitmap
[today in history] February 13: the father of transistors was born The 20th anniversary of net; Agile software development manifesto was born
Post training quantification of bminf
数字人主播618手语带货,便捷2780万名听障人士
[text generation] recommended in the collection of papers - Stanford researchers introduce time control methods to make long text generation more smooth
甘肃旅游产品预订增四倍:“绿马”走红,甘肃博物馆周边民宿一房难求
如何正确截取字符串(例:应用报错信息截取入库操作)
Redis之性能指标、监控方式
A convolution substitution of attention mechanism
随机推荐
LeetCode:394. String decoding
[shell script] - archive file script
Intel Distiller工具包-量化实现3
Advanced Computer Network Review(4)——Congestion Control of MPTCP
Redis之核心配置
Advanced Computer Network Review(3)——BBR
Redis cluster
QML type: overlay
BMINF的後訓練量化實現
Redis之五大基础数据结构深入、应用场景
Kratos战神微服务框架(二)
Chapter 1 :Application of Artificial intelligence in Drug Design:Opportunity and Challenges
不同的数据驱动代码执行相同的测试场景
Post training quantification of bminf
Leetcode: Jianzhi offer 04 Search in two-dimensional array
Redis之性能指标、监控方式
KDD 2022论文合集(持续更新中)
Intel Distiller工具包-量化实现2
Pytest之收集用例规则与运行指定用例
Reids之缓存预热、雪崩、穿透