c++ - #include <> 和 #include ""

标签 c++ compiler-construction include

Possible Duplicate:
what is the difference between #include <filename> and #include “filename”

除了编译器将搜索的路径方式之外,这两种#include 语法是否存在根本区别?

我感觉 Intel 的编译器并没有给出完全相同的输出。

最佳答案

根本区别搜索路径。

您应该对“系统”包含使用尖括号形式,对项目本地包含使用常规引号。

关于c++ - #include <> 和 #include "",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1367316/

相关文章:

c++ - 寻找加速功能的方法

c++ - 如何使用 Teamcenter C++ API 提取标记关系?

webpack - 如何在 webpack 中包含加载器?

ruby - 使用 Ruby 进行数组包含检查

c++ - OpenGL 从 4*float 格式上传像素数据 (C++)

c++ - 存储在 vector 中的对象的所有权

java - 在 Java 方法性能中使用 final 关键字?

performance - 为什么编译器这么蠢?

c++ - python 中带有嵌套 if 的智能自动 C 代码生成器

c++ - 在 pragma pack 中包含 std map 会导致崩溃