Glossary: Software Design Patterns in C++
#pragma once
A line at the top of a header file that tells the compiler to include that file only once per build. It prevents 'defined twice' errors when several files include the same header.
Glossary: Software Design Patterns in C++
A line at the top of a header file that tells the compiler to include that file only once per build. It prevents 'defined twice' errors when several files include the same header.