当前位置:网站首页>The difference between include < > and include ""
The difference between include < > and include ""
2022-07-02 21:48:00 【Cored】
One 、 The directories searched are different
1、#include<>: The compiler looks for the header file directly from the system class library directory :
#include<stdio.h>
For example VS2013 in , The compiler will be directly in <Visual studio 2013 The installation directory >\VC\include Found under directory stdio.h This file , This is the class library directory of the compiler ; stay Linux GCC In the compiled environment , It's usually /user/include and /usr/local/include.
If the search under the class library directory fails , The compiler will terminate the search , Direct error :No such file or directory.
for example , We customize a header file "test.h", Put it in the directory where the project engineering documents are located , And then use “#include <>” Load header file in the form of test.h, Errors will be reported directly during compilation :No such file or directory.
边栏推荐
- Construction and maintenance of business websites [7]
- Download vagrant box file locally from Atlas and configuring it
- Accounting regulations and professional ethics [19]
- VIM command-t plugin error: unable to load the C extension - VIM command-t plugin error: could not load the C extension
- Introduction to victoriametrics
- Research Report on market supply and demand and strategy of Chinese garden equipment industry
- MySQL learning record (6)
- China plastic box market trend report, technological innovation and market forecast
- China's Micro SD market trend report, technology dynamic innovation and market forecast
- 关于测试用例
猜你喜欢

Basic IO interface technology - microcomputer Chapter 7 Notes

图像基础概念与YUV/RGB深入理解

Huawei Hongmeng watch achieves fireworks display effect on New Year's Eve

Basic knowledge of tree and binary tree (detailed illustration)

Three chess games
![[shutter] shutter page Jump (route | navigator | page close)](/img/af/3fb2ca18bcec23a5c0c6897570fb53.gif)
[shutter] shutter page Jump (route | navigator | page close)

MySQL learning record (4)

MySQL learning record (2)
![[shutter] statefulwidget component (bottom navigation bar component | bottomnavigationbar component | bottomnavigationbaritem component | tab switching)](/img/a7/0b87fa45ef2edd6fac519b40adbeae.gif)
[shutter] statefulwidget component (bottom navigation bar component | bottomnavigationbar component | bottomnavigationbaritem component | tab switching)

MySQL learning record (5)
随机推荐
MySQL learning record (1)
pip安装whl文件报错:ERROR: ... is not a supported wheel on this platform
[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
Research Report on market supply and demand and strategy of Chinese garden equipment industry
China's crude oil heater market trend report, technological innovation and market forecast
【零基础一】Navicat下载链接
D4:非成对图像去雾,基于密度与深度分解的自增强方法(CVPR 2022)
Plastic floating dock Industry Research Report - market status analysis and development prospect forecast
[shutter] shutter layout component (wrap component | expanded component)
LandingSite eBand B1冒烟测试用例
PIP audit: a powerful security vulnerability scanning tool
Cloud computing technology [2]
Research Report on minimally invasive medical robot industry - market status analysis and development prospect prediction
VictoriaMetrics 简介
地理探测器原理介绍
关于测试用例
Go web programming practice (1) -- basic syntax of go language
China plastic box market trend report, technological innovation and market forecast
beginning
Chinese Indian seasoning market trend report, technical dynamic innovation and market forecast