The Daily WTF: Curious Perversions in Information Technology
Welcome to TDWTF Forums Sign in | Join | Help
in Search

Entry #100330 - The Rembinator

Last post 06-14-2007 3:28 AM by welcor. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-11-2007 12:09 PM

    Entry #100330 - The Rembinator

    This OMGWTF calculator was implemented without using the ++, --, +, -, / and * operators, while and for loops, and if statements that do anything more than goto or return (well there are a few exceptions, but that's just because nested, indented if-blocks look so damn sexy). Each of the 4 operations is implemented differently, each WTF-y in it's own way. All I can say is that it needs to be able to access www.google.com/search, and it uses calc.exe. The rest is in the readme and comments. Enjoy!
  • 06-14-2007 3:28 AM In reply to

    Re: Entry #100330 - The Rembinator

    O.O

     Let me guess - the author uses assembler on a regular basis?!?

    Definately made me go WTF more than once. I especially like this one:

     char *padACharArrayWithZeroesOnTheLeftSideUntilItReachesASpecificLength(int len, char* c) {

Page 1 of 1 (2 items)
Powered by Community Server (Non-Commercial Edition), by Telligent Systems