A Modest Extension to the C Preprocessor
Jack Jansen
jack at vu44.UUCP
Tue Aug 7 15:11:58 AEST 1984
I think that a more elegant way of getting the functionality of
the proposed #use statement is an 'included' preprocessor function.
Like in
#if !included("def.h")
#include "def.h"
#endif
I wouldn't know what the syntax should be for <stdio.h>, though.
It could be included(<stdio.h>), or included("stdio.h"); but the
first one looks quite non-C to me, and the second one is clearly
ambigous.
Jack Jansen, {philabs|decvax}!mcvax!vu44!jack
More information about the Comp.lang.c
mailing list