| delorie.com/archives/browse.cgi | search |
| From: | "Johan Venter" <jventer AT writeme DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| References: | <Pine DOT SUN DOT 3 DOT 91 DOT 991021141800 DOT 2684T-100000 AT is> <YiKP3.598$SS6 DOT 16647 AT dfiatx1-snr1 DOT gtei DOT net> |
| 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: | <JFWP3.1239$we.1842@newsfeeds.bigpond.com> |
| 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 <web DOT poison AT pineight DOT 8m DOT com> wrote in message
news:YiKP3.598$SS6 DOT 16647 AT dfiatx1-snr1 DOT gtei DOT net...
>
> file://start of hello.c
> #include <stdio.h>
>
> /* 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |