www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/22/16:49:41

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Nested Comments -- Possible?
Date: Sun, 22 Sep 1996 14:04:13 -0700
Organization: Three pounds of chaos and a pinch of salt
Lines: 29
Message-ID: <3245A9CD.7622@cs.com>
References: <523sn9$ko AT news DOT stealth DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp211.cs.com
Mime-Version: 1.0
To: Mohan Khurana <mohan AT stealth DOT net>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Mohan Khurana wrote:
> 
> Are nexted comments possible?
> 
> Right now,  if I do this:
> 
> int func (     int argum1,     /* this is an arg1 */
>                      int  argum2,    /*   arg2                 */
>                     char *str           /*  string                 */
>                 );
> 
> it won't work.

*sigh*  Please be more specific than "It won't work."  A copy of the
error messages you get would be nice.  I copied the above piece of
code and compiled it with -Wall and I got no errors or warnings.  Also,
though nested comments are NOT possible, you aren't using any!

Please post an entire fragment of code which displays the erroneous
behavior, along with a copy of any error messages you get, and we'll
try to help you better.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |        fighteer AT cs DOT com         |
|    *  Proud user of DJGPP!  *    |   http://www.cs.com/fighteer   |
|    ObJoke:  If Bill Gates were a robber, not only would he        |
|     shoot you, but he'd send you a bill for the bullets.          |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019