mathbong
Home
∑ School Math∑ Advanced Math[] Coding</> Utils⎈ Infra◎ My Project
Terms Tools About
KO
Glossary coding Term Page

Include guard

A preprocessor pattern that blocks duplicate declarations when the same header is included

include-guard #coding#c
Korean version

Related Concepts

Header fileDeclarationDefinitionPreprocessorMacroConditional compilation

Core Idea

Include guard is A preprocessor pattern that blocks duplicate declarations when the same header is included multiple times. It usually makes the most sense alongside Header file, Declaration, Definition.

Why It Matters Here

Mathbong reuses this term across c posts as shared vocabulary.

Posts Mentioning This Concept

[C Series 15] Preparing Code with the Preprocessor and Macros See what transformations happen before compilation via `#include`, `#define`, and conditional compilation, and learn to write safer macros.[C Series 11] Organizing Code with Separate Files and Headers Learn how `.c` and `.h` split responsibilities, how to separate declarations from definitions, and how multi-file builds work.[C 시리즈 15편] 전처리기와 매크로로 코드 준비하기 `#include`, `#define`, 조건부 컴파일을 통해 컴파일러가 코드를 읽기 전에 어떤 변환이 일어나는지 살펴보고 안전한 매크로 작성법을 익힙니다.

© 2026 mathbong. All rights reserved.

RSS