From: "John M. Aldrich" 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Mohan Khurana 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. | ---------------------------------------------------------------------