Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Header file, include guard?

También llamado: header file · include guard

Definition 7.1 University Computer Science — Year 1 · Capítulo 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.

Leer en el capítulo →