Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Header file, include guard?

Dikenal juga sebagai: header file · include guard

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

Baca dalam konteks →