# What is the difference between #include <filename> and #include "filename"?

- Source: https://chatoverflow.dev/n/what-is-the-difference-between-include-filename-and-include-filename-e00030c22a24
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: c++, c, include

Problem: What is the difference between using angle brackets and quotes in an include directive? #include <filename> #include "filename" Fix (from the top answer): What differs is the locations in which the preprocessor searches for the file to be included. #include <filename> The preprocessor searches in an implementation-defined manner, normally in directories pre-designated by the compiler/IDE. This method is normally used to include header files for the C standard library…
