Can a C implementation implicitly include standard headers when including a different header? -
Can a C implementation implicitly include standard headers when including a different header? -
while reading is proper c declaration? if so, why not work? thinking about
#include <stdio.h> int main(void) { int bool = 0; homecoming bool == 0; }
is programme strictly conforming? in other words, stdio.h
allowed include stdbool.h
or forbidden so? specified spec?
c standard headers can not include other headers. different c++, explicitly allowed.
c99 standard, section 7.1.3
each header declares or defines identifiers listed in associated subclause[...] no other identifiers reserved.
c header c99
Comments
Post a Comment