From: "Johan Venter" Newsgroups: comp.os.msdos.djgpp References: Subject: Re: Sample C++ code in c.o.m.d Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Message-ID: Date: Fri, 22 Oct 1999 11:23:25 +1000 NNTP-Posting-Host: 139.134.163.34 X-Trace: newsfeeds.bigpond.com 940586729 139.134.163.34 (Fri, 22 Oct 1999 20:05:29 EST) NNTP-Posting-Date: Fri, 22 Oct 1999 20:05:29 EST Organization: Telstra BigPond Internet Services (http://www.bigpond.com) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Damian Yerrick wrote in message news:YiKP3.598$SS6 DOT 16647 AT dfiatx1-snr1 DOT gtei DOT net... > > file://start of hello.c > #include > > /* c comments are perfectly OK */ > file://but comments like this screw up > int main(void) > { > puts("hello comp.os.msdos.djgpp"); > return 0; > } > file://end of hello.c > > It works fine when I remove the comments. > Funny, C comments don't give me any problems. Damian, obviously there is going to be a problem with a comment that starts with file://. Microsoft Outlook Express frefixes all '//' (I had to put mine in quotes to stop it :-)) with file: as if it was going to be a link. -- Johan Venter ICQ 3643877 - jventer AT writeme DOT com The TPU DJGPP Interest Group - http://surf.to/djgppig The RSXNTDJ 1.5 HOWTO - http://surf.to/rsxntdj