当前位置:网站首页>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.
边栏推荐
- Analysis of enterprise financial statements [3]
- Spend more time with your computer on this special holiday, HHH
- Construction and maintenance of business websites [6]
- Capacity expansion mechanism of ArrayList
- D4: unpaired image defogging, self enhancement method based on density and depth decomposition (CVPR 2022)
- Etcd Raft 协议
- Research Report on market supply and demand and strategy of China's right-hand outward rotation entry door industry
- [shutter] shutter page Jump (route | navigator | page close)
- MySQL learning record (2)
- How to prevent your jar from being decompiled?
猜你喜欢
Etcd Raft 协议
TinyMCE visual editor adds Baidu map plug-in
[shutter] statefulwidget component (floatingactionbutton component | refreshindicator component)
Structure array, pointer and function and application cases
Cardinality sorting (detailed illustration)
[shutter] shutter layout component (Introduction to layout component | row component | column component | sizedbox component | clipoval component)
如何访问kubernetes API?
Unexpectedly, there are such sand sculpture code comments! I laughed
Spend more time with your computer on this special holiday, HHH
【零基础一】Navicat下载链接
随机推荐
MySQL learning record (8)
*C language final course design * -- address book management system (complete project + source code + detailed notes)
地理探测器原理介绍
Capacity expansion mechanism of ArrayList
图像基础概念与YUV/RGB深入理解
Browser - clean up the cache of JS in the page
[shutter] shutter page Jump (route | navigator | page close)
Huawei Hongmeng watch achieves fireworks display effect on New Year's Eve
It is said that this year gold three silver four has become gold one silver two..
关于测试用例
Gbase8s database type
Accounting regulations and professional ethics [19]
Research Report on market supply and demand and strategy of China's plastic trunking industry
Construction and maintenance of business websites [6]
Research Report on market supply and demand and strategy of microplate instrument industry in China
*C语言期末课程设计*——通讯录管理系统(完整项目+源代码+详细注释)
Pyqt picture decodes and encodes and loads pictures
读博士吧,研究奶牛的那种!鲁汶大学 Livestock Technology 组博士招生,牛奶质量监测...
[C language] [sword finger offer article] - replace spaces
[shutter] statefulwidget component (bottom navigation bar component | bottomnavigationbar component | bottomnavigationbaritem component | tab switching)