Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!att!ulysses!andante!alice!ark From: ark@alice.UUCP (Andrew Koenig) Newsgroups: comp.lang.c++ Subject: Re: C++ Comments Message-ID: <9383@alice.UUCP> Date: 22 May 89 23:05:28 GMT References: <6957@brunix.UUCP> Organization: AT&T Bell Laboratories, Liberty Corner NJ Lines: 22 In article <6957@brunix.UUCP>, sdm@cs.brown.edu (Scott Meyers) writes: > Consider the following C++ source line: > //********************** > How should this be treated by the C++ compiler? It's a // comment followed by a bunch of *'s. However, many C preprocessors strip comments out of your program and also don't recognize C++ comments. Thus by the time the C++ compiler sees this, it looks like this: / AT&T does not supply a preprocessor with its C++ translator, any more than it supplies a linker, assembler, or C compiler. It's up to whoever ports C++ to deal with the preprocessor. -- --Andrew Koenig ark@europa.att.com