Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What is cpp ???

46 views
Skip to first unread message

NEUKLAUS%NE...@wiscvm.arpa

unread,
Oct 31, 1986, 12:13:18 PM10/31/86
to

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: NEUK...@NEUVM1.BITNET

David Langdon

unread,
Nov 3, 1986, 8:25:15 AM11/3/86
to
>
> 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 Harris

unread,
Nov 5, 1986, 2:32:12 PM11/5/86
to
> 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
g...@sun.com (or g...@sun.arpa)

Brian Campbell

unread,
Nov 5, 1986, 6:07:44 PM11/5/86
to
CPP - C Pre-processor
0 new messages