#include <> 与 #include “ “ : 尖括号和双撇号的区别、何时用

见下图:

 简单来说,

使用系统库函数,则用 #include <stdio.h>,另一种也不算错;

使用自己编写的文件,则只能用 #include "file.h"。

相关推荐

  1. 【C++】include头文件中双引号尖括号区别

    2024-03-15 23:32:02       21 阅读
  2. C语言中 #include<> include ““区别

    2024-03-15 23:32:02       34 阅读
  3. android include merge 区别

    2024-03-15 23:32:02       23 阅读
  4. mybatisincludesql使用

    2024-03-15 23:32:02       36 阅读
  5. mybatis xml 文件 sql include

    2024-03-15 23:32:02       54 阅读
  6. Thymeleaf中th:replace,th:insert,th:include之间区别

    2024-03-15 23:32:02       29 阅读
  7. PHP中include require 语句

    2024-03-15 23:32:02       58 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-03-15 23:32:02       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-03-15 23:32:02       100 阅读
  3. 在Django里面运行非项目文件

    2024-03-15 23:32:02       82 阅读
  4. Python语言-面向对象

    2024-03-15 23:32:02       91 阅读

热门阅读

  1. Python | import和from在导入模块的时候有什么区别

    2024-03-15 23:32:02       42 阅读
  2. 简单实现接口自动化测试(基于python)

    2024-03-15 23:32:02       31 阅读