To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 1997
1996  |  1998
Subject: 
Re: Programming Brain Teaser
Newsgroups: 
lugnet.off-topic.geek
Date: 
Thu, 7 Sep 2000 01:55:28 GMT
Reply-To: 
mattdm@mattdm.SPAMLESSorg
Viewed: 
160 times
  
richard marchetti <blueofnoon@aol.com> wrote:
What line of code written either in C, C++, or Perl will compile written
forward as well as backwards?  The following was submitted as an example of
the FORM of the answer, while not itself being the answer:

Does the code need to compile in all of those, or just some of them?
It's really easy in perl. :)

Does it have to compile by itself, or can it be part of a larger program?
The former is more difficult in C/C++...

Also, what qualifies as a statement, exactly?




--
Matthew Miller                     --->                 mattdm@mattdm.org
Quotes 'R' Us                    --->              http://quotes-r-us.org/
Boston University Linux            --->               http://linux.bu.edu/



Message is in Reply To:
  Programming Brain Teaser
 
Hey Y'all: Someone posed the following teaser to me, and I admit that it has stumped me completely. It has even stumped my programmer buddies (which creates doubt in my mind that there IS actually a solution to the puzzle). The question was posed (...) (24 years ago, 7-Sep-00, to lugnet.off-topic.geek)

19 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR