当前位置:网站首页>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
边栏推荐
- [OC]-<UI入门>--常用控件-提示对话框 And 等待提示器(圈)
- ant-design的走马灯(Carousel)组件在TS(typescript)环境中调用prev以及next方法
- Advanced Computer Network Review(4)——Congestion Control of MPTCP
- After reading the programmer's story, I can't help covering my chest...
- LeetCode:221. Largest Square
- Post training quantification of bminf
- LeetCode:124. Maximum path sum in binary tree
- SimCLR:NLP中的对比学习
- Mise en œuvre de la quantification post - formation du bminf
- CUDA implementation of self defined convolution attention operator
猜你喜欢

什么是MySQL?MySql的学习之路是怎样的

Redis cluster
![[sword finger offer] serialized binary tree](/img/e2/25c9322da3acda06c4517b0c50f81e.png)
[sword finger offer] serialized binary tree

BMINF的后训练量化实现

Kratos战神微服务框架(二)

Improved deep embedded clustering with local structure preservation (Idec)

After reading the programmer's story, I can't help covering my chest...

Different data-driven code executes the same test scenario

LeetCode:124. Maximum path sum in binary tree

Selenium+pytest automated test framework practice (Part 2)
随机推荐
Intel distiller Toolkit - Quantitative implementation 2
Heap (priority queue) topic
Intel Distiller工具包-量化实现3
什么是MySQL?MySql的学习之路是怎样的
在QWidget上实现窗口阻塞
Connexion d'initialisation pour go redis
Leetcode: Jianzhi offer 03 Duplicate numbers in array
Leetcode problem solving 2.1.1
LeetCode:387. The first unique character in the string
Opencv+dlib realizes "matching" glasses for Mona Lisa
Pytest参数化你不知道的一些使用技巧 /你不知道的pytest
Improved deep embedded clustering with local structure preservation (Idec)
What is MySQL? What is the learning path of MySQL
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
如何正确截取字符串(例:应用报错信息截取入库操作)
[oc]- < getting started with UI> -- common controls - prompt dialog box and wait for the prompt (circle)
Digital people anchor 618 sign language with goods, convenient for 27.8 million people with hearing impairment
QML control type: menu
Redis之持久化实操(Linux版)
Nacos installation and service registration