| | Re: Programming Brain Teaser David Goeb
|
| | (...) Not even legal Perl and he did say Perl. Only works in C++ or in a C with C++ extentions. Kick him twice as much. And (MattM) you may be right that the ; alone is to taking a liberty with the term statement. DaveG (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
|
| | |
| | | | Re: Programming Brain Teaser David Eaton
|
| | | | (...) ;("abcdefghijklmnopq...yz")ftnirp (...) 'Course, if ';' doesn't count as a statement, it makes it much more difficult, since most commands end with a ';', and therefore have to start with one as well if they're to be read in backwards-- making (...) (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
|
| | | | |
| | | | | | Re: Programming Brain Teaser David Goeb
|
| | | | (...) Good one, works in perl, C, and C++ You win in my opinion. (...) What a nasty addition to the problem. Gonna have to think about it... DaveG (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
|
| | | | |
| | | | | | Re: Programming Brain Teaser Matthew Miller
|
| | | | (...) 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.... (...) Well, #define thisisnotapalindrome enifed# :) (24 years ago, 8-Sep-00, to lugnet.off-topic.geek)
|
| | | | |
| | | | | | Re: Programming Brain Teaser David Goeb
|
| | | | (...) 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)
|
| | | | |