Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Do you like C ?

by boo (Scribe)
on Jan 28, 2007 at 01:27 UTC ( [id://596928]=obfuscated: print w/replies, xml ) Need Help??

#include <stdio.h> int main(int argc, char ** argv) /* 0 if 0; #*/ { printf("Just another C/Perl Hacker !"); }

Replies are listed 'Best First'.
Re: Do you like C ?
by truedfx (Monk) on Jan 28, 2007 at 08:28 UTC
    perl.c:4: error: second argument of 'main' should be 'char **'
    You can change the * on line 3 to ** to make it valid C, without affecting the Perl meaning. Also, both C and Perl allow for \n to mean newline after the !; you could consider adding that. :)
Re: Do you like C ?
by cchampion (Curate) on Jan 28, 2007 at 05:45 UTC
      But both those abuse #define to create C code that doesn't look like C code at all, so they're not quite the same thing.
      Yeah, isn't it irritating? What bothers me even more is the way people keep posting plain Perl programs that just end up printing "Just another Perl hacker,\n". It's been done already, people!
Re: Do you like C ?
by boo (Scribe) on Feb 05, 2007 at 01:51 UTC
    This code ran without errors in my machine... Well, I'm trying to do better obfuscated codes, but I'm just an apprentice at this time... I need to improve a lot my obfuscated codes in order to show you some really good stuff, but I'll keep trying ! Thank you for your feedback dudes !

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://596928]
Approved by ysth
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-23 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found