delorie.com/archives/browse.cgi | search |
From: | Nate Eldredge <neldredge AT hmc DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Help! |
Date: | 22 Oct 2000 11:27:32 -0700 |
Organization: | InterWorld Communications |
Lines: | 24 |
Sender: | nate AT mercury DOT st DOT hmc DOT edu |
Message-ID: | <83aebwafzf.fsf@mercury.st.hmc.edu> |
References: | <002001c03ac9$ebe70fc0$0500a8c0 AT brk> <39f0b88a DOT 48929103 AT news DOT freeserve DOT net> <834s27rxf2 DOT fsf AT mercury DOT st DOT hmc DOT edu> <39f1f1fd DOT 44260315 AT news DOT freeserve DOT net> |
NNTP-Posting-Host: | mercury.st.hmc.edu |
Mime-Version: | 1.0 |
X-Trace: | nntp1.interworld.net 972239252 83098 134.173.57.219 (22 Oct 2000 18:27:32 GMT) |
X-Complaints-To: | usenet AT news DOT interworld DOT net |
NNTP-Posting-Date: | Sun, 22 Oct 2000 18:27:32 +0000 (UTC) |
User-Agent: | Gnus/5.0802 (Gnus v5.8.2) Emacs/20.5 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
dontmailme AT iname DOT com (Steamer) writes: > Nate Eldredge wrote: > > > Even more fun is the classic scheme > > > > int is_cplusplus(void) > > { > > int x; > > x = 2-2//**/1; > > +1; > > return x; > > } > > But this assumes that // comments are not recognized in C, whereas > the new C standard says they should be. I know, I know. So I guess it's really a test for C89. But it certainly looks a lot weirder than yours, doesn't it? -- Nate Eldredge neldredge AT hmc DOT edu
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |