Subject:
|
Re: Programming Brain Teaser
|
Newsgroups:
|
lugnet.off-topic.geek
|
Date:
|
Fri, 8 Sep 2000 03:15:52 GMT
|
Reply-To:
|
mattdm@mattdm.orgSPAMLESS
|
Viewed:
|
326 times
|
| |
| |
DaveG <peagreen@intergate.ca> wrote:
> > #define madamimadam enifed#
> Good one, works in perl, C, and C++ You win in my opinion.
Yeah, I thought of that one, but I'm not sure it counts as a statement. In
perl, of course, it's a comment. And in C/C++, it's a preprocessor
directive....
> > But even neater would be to constrain the problem such that the statement
> > couldn't be a palandrome...
Well,
#define thisisnotapalindrome enifed#
:)
--
Matthew Miller ---> mattdm@mattdm.org
Quotes 'R' Us ---> http://quotes-r-us.org/
Boston University Linux ---> http://linux.bu.edu/
|
|
Message has 1 Reply: | | Re: Programming Brain Teaser
|
| (...) You got it right again you punk<grin>, Page 616:Programming Perl O'Reilly: Statement- A *command* to the computer about what to do next....Not to be confused with a *declararation* which doesn't tell the computer to do anything, but just learn (...) (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
|
Message is in Reply To:
19 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|