Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Header file, include guard?

Ook bekend als: header file · include guard

Definition 7.1 University Computer Science — Year 1 · Hoofdstuk 7 — Modular Programs, Makefiles and Tests

A header file is a file of declarations (types, function prototypes, constants) meant to be included by other files. An include guard is the pair #ifndef NAME, #define NAME at its start and #endif at its end, which makes a second inclusion of the header in the same file expand to nothing.

Lees in het hoofdstuk →