[net.lang.c] What is cpp ???

NEUKLAUS%NEUVM1.BITNET@wiscvm.ARPA (10/31/86)

                  Hi C people.

I am new at this list, and I just heard about 'cpp'. Can anyone tell
me what it is? (A compiler :-))) ?).

Thanks for your help.
              Klaus Elmquist Nielsen.

BITNET: NEUKLAUS@NEUVM1.BITNET

dml@rabbit1.UUCP (David Langdon) (11/03/86)

> 
>                   Hi C people.
> 
> I am new at this list, and I just heard about 'cpp'. Can anyone tell
> me what it is? (A compiler :-))) ?).
> 
> Thanks for your help.
>               Klaus Elmquist Nielsen.
> 

CPP is the C language preprocessor which handles the '#' directives present
in C programs (#include, #define, #undef, #if/#ifdef/#else/#elif/#endif, etc).
It is usually run as the first step in the compilation process to bring in
all #include-d source references, handle conditional compilation for the
#if set of directives and replace all #define-d references in the source
code.

-- 
David Langdon    Rabbit Software Corp.
(215) 647-0440   7 Great Valley Parkway East  Malvern PA 19355

...!ihnp4!{cbmvax,cuuxb}!hutch!dml        ...!psuvax1!burdvax!hutch!dml

guy@sun.uucp (Guy Harris) (11/05/86)

> CPP is the C language preprocessor which handles the '#' directives present
> in C programs...

More precisely, "cpp" is *a* C language preprocessor that, in some C
implementations (including most UNIX ones) handles the '#' directives
present in C programs.  It is certainly not present in every single C
implementation out there.
-- 
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy@sun.com (or guy@sun.arpa)

brianc@cognos.UUCP (Brian Campbell) (11/06/86)

CPP - C Pre-processor