, , , , , , ( ). assert.h, , NDEBUG . C:
; , - , , , <assert.h> NDEBUG.
, /. , , ( assert.h, ). ( , #pragma), " ".
, , .
, :
int a;
a. .
, , - include, :
#ifndef H_HEADER_NAME_
#define H_HEADER_NAME_
/* header contents */
#endif
#pragma s. ( , .)
, , include guard :
E, ,PRI, X,LC_, ,SIG/SIG_, ,
.. .. ( H_NAME_.)
, , , (: , ).
#ifndef SZ
#define SZ 1024
#else
#if SZ == 1024
#undef SZ
#define SZ 128
#else
#error "You can include me no more than two times!"
#endif
#endif
source
share