cplusplus.co.il

Archive for April 2010

Odd man out

Posted by: rmn on: 24/04/2010

There’s nothing like the “Eureka” moment when you eventually manage to solve a challenging puzzle. I’m a man of puzzles myself, and the ones I like the most are computer science, or programming related, puzzles. I’ve recently heard a pretty intriguing puzzle I would like to share with you.

Quines

Posted by: rmn on: 16/04/2010

A Quine is a computer program which prints a copy of its own source code as its only output. Thus it is theoretically possible to compile such a program, run it, and then have its output compiled again to produce the initial program – in an infinite loop, forever.


Follow

Get every new post delivered to your Inbox.

Join 25 other followers