The Boring Thread - Page 124
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 124 of 157 FirstFirst ... 2474114121122123124125126127134 ... LastLast
Results 1,846 to 1,860 of 2341

Thread: The Boring Thread

  1. #1846
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: The Boring Thread

    Quote Originally Posted by Tom Frohman
    Ok, then how am I supposed to get "Hello!" off the screen. Eh?
    What's your answer to That!!!!
    Code:
    #include <stdio.h>
    #include <stdlib.h>
    
    #define _putc(c) (putc(c, stdout))
    
    int main(){char msg[]={71,100,107,107,110,32};int i=0,j=2;l1:i=0;while(1!=2){if(i==(sizeof(msg)/sizeof(0[msg])))if(j)
    goto l2;else goto l3;if(j)i[msg]++;else _putc(i[msg]);i++;}l2:j=0;goto l1;l3:_putc('\n');system("cls");return 0;}
    Or simply let your pacman eat it up for you.
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  2. #1847
    Join Date
    Mar 2004
    Location
    Ukraine
    Posts
    170

    Re: The Boring Thread

    Quote Originally Posted by NoHero
    Code:
    #include <stdio.h>
    #include <stdlib.h>
    
    #define _putc(c) (putc(c, stdout))
    
    int main(){char msg[]={71,100,107,107,110,32};int i=0,j=2;l1:i=0;while(1!=2){if(i==(sizeof(msg)/sizeof(0[msg])))if(j)
    goto l2;else goto l3;if(j)i[msg]++;else _putc(i[msg]);i++;}l2:j=0;goto l1;l3:_putc('\n');system("cls");return 0;}
    Or simply let your pacman eat it up for you.
    You may use this code to examine all persons who wish to get work of programmist, simply ask them what it do?
    God could improve essentially a
    human nature, but he
    was too anxious with compatibility
    with the monkey.
    (Eugeny Goldberg)

  3. #1848
    Join Date
    May 2005
    Location
    United States
    Posts
    526

    Re: The Boring Thread

    Quote Originally Posted by Tom Frohman
    Ok, then how am I supposed to get "Hello!" off the screen. Eh?
    What's your answer to That!!!!
    Why, that's easy.
    Code:
    #include <iostream>
    #define d std::cout
    #define f int
    #define r for
    #define j if
    #define z char
    #define q return
    #define v while
    #define e 1
    
    f l[]={0x8E,0x61,0xDC,0x9A,0xDA,0x3C,0xC2,0xF2,0xBC,0xD4,0xE8,0xCC,0xBE,0x9F,0x34};
    f main(){r(f k=e^e;k<(l[e<<(e+e)^e]>>(e+e));k+=(l[k]>>l[k%e])+e)j(k%(e<<e)==(l[l[e]&e^e]&l[e]))d<<(z)((l[k]+k)>>e);q(e>>e);}
    (Yes, I know this is lazy obfuscation, but I lack the patience and the skill for better. )

  4. #1849
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    862

    Re: The Boring Thread

    Quote Originally Posted by NoHero
    Code:
    #include <stdio.h>
    #include <stdlib.h>
    
    #define _putc(c) (putc(c, stdout))
    
    int main(){char msg[]={71,100,107,107,110,32};int i=0,j=2;l1:i=0;while(1!=2){if(i==(sizeof(msg)/sizeof(0[msg])))if(j)
    goto l2;else goto l3;if(j)i[msg]++;else _putc(i[msg]);i++;}l2:j=0;goto l1;l3:_putc('\n');system("cls");return 0;}
    Or simply let your pacman eat it up for you.
    Aha! Now I have you. You are trying to fool me!!! I know that this program contains the secret
    launch codes to the custard pie catapult. ROBOTS ARE TRYING TO STEAL MY LUGGAGE!!!!!!!!!!!
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  5. #1850
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: The Boring Thread

    Quote Originally Posted by NoHero
    I was bored... and this is the result...

    Code:
    #include <stdio.h>
    #include <stdlib.h>
    
    #define _putc(c) (putc(c, stdout))
    
    int main(){char msg[]={71,100,107,107,110,32};int i=0,j=2;l1:i=0;while(1!=2){if(i==(sizeof(msg)/sizeof(0[msg])))if(j)
    goto l2;else goto l3;if(j)i[msg]++;else _putc(i[msg]);i++;}l2:j=0;goto l1;l3:_putc('\n');return 0;}
    Without compiling it, can anyone tell me what it puts out on an x86?

    The first one to get this without compiling/linking/running gets nothing. ABSOLUTLY NOTHING!!!! FOR FREE!!!


    **** 0 !!

  6. #1851
    Join Date
    Aug 2001
    Location
    Sydney, Australia
    Posts
    813

    Re: The Boring Thread

    Quote Originally Posted by kirants
    Without compiling it, can anyone tell me what it puts out on an x86?
    I could.... but I can't be bothered...
    Microsoft LVP - Least Valuable Professional

    Please rate this post... Pleeeeeeaaassee!!!

  7. #1852
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: The Boring Thread

    Quote Originally Posted by kirants
    **** 0 !!
    *Lol* ... Can you read it? I gave it a friend of mine and he was able to read it without compiling or making it clean with new lines, tabs etc

    Quote Originally Posted by Deniz
    I could.... but I can't be bothered...
    Not a problem just try it! This code does not anything todo with your....bal...aehem... intelligence

    Quote Originally Posted by Tom Frohman
    Aha! Now I have you. You are trying to fool me!!! I know that this program contains the secret
    launch codes to the custard pie catapult. ROBOTS ARE TRYING TO STEAL MY LUGGAGE!!!!!!!!!!!
    Darn, he got behind it all

    Quote Originally Posted by Smasher
    (Yes, I know this is lazy obfuscation, but I lack the patience and the skill for better. )
    I like obfuscating code when I am bored. Just like a hobby... ... But it is a good one!

    Quote Originally Posted by Skoons
    You may use this code to examine all persons who wish to get work of programmist, simply ask them what it do?
    Well... It could become a qualifying examination when someone wants to get into my projects
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  8. #1853
    Join Date
    Mar 2004
    Location
    Ukraine
    Posts
    170

    Re: The Boring Thread

    Quote Originally Posted by NoHero
    Well... It could become a qualifying examination when someone wants to get into my projects
    In this case I always ask person what he thinks about hungrian notation
    God could improve essentially a
    human nature, but he
    was too anxious with compatibility
    with the monkey.
    (Eugeny Goldberg)

  9. #1854
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: The Boring Thread

    Quote Originally Posted by Skoons
    In this case I always ask person what he thinks about hungrian notation
    Yep... and of course of goto's inside an application
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  10. #1855
    Join Date
    Sep 2000
    Location
    Indianapolis
    Posts
    6,432

    Re: The Boring Thread

    Quote Originally Posted by Skoons
    You may use this code to examine all persons who wish to get work of programmist, simply ask them what it do?
    ...what to do?

    Fire the guy that wrote the question for bad programming practices

  11. #1856
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: The Boring Thread

    Quote Originally Posted by Brad Jones
    ...what to do?

    Fire the guy that wrote the question for bad programming practices
    Heck, I will never get a job then!

    /more time for answering @ GG then
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

  12. #1857
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    862

    Re: The Boring Thread

    A rude body noise based on how I feel today:

    VVVVVVVVrrrrrrrrrrrrrrrrrrrrraaaaaaaaaaaaaaaaaaaappppppppppppppp!!!
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  13. #1858
    Xeon's Avatar
    Xeon is offline Want me to ban you?! Power Poster
    Join Date
    Jul 2000
    Location
    Singapore
    Posts
    4,195

    Smile Re: The Boring Thread

    From Tom:
    A rude body noise based on how I feel today:
    VVVVVVVVrrrrrrrrrrrrrrrrrrrrraaaaaaaaaaaaaaaaaaaappppppppppppppp!!!
    Stop pharting, Tom! I know there's no girls here, but still....

    Anyway, how are things here? Just checked my CodeGuru position today and saw that I was ranked No. 18 based on the total number of posts.
    No. 18 among hundreds of thousands of members is an achievement, but....I was No. 7 once! Andreas Masur is now No. 1, with 12,600++ posts? How can he be that fast? Grrrr......

    I WANT REVENGE!
    THE LORD IS BACK!
    CAGES CAN'T KEEP ME,
    I WILL BE FREE SOON!

    I roar like the jungle,
    my eyes are bleeding.
    I rip the tigers apart,
    I devour their bones.

    I prowl the Savannah,
    searching for a worthy beast.
    I tear up the lions,
    I shriek in psychotism.

    My name is...Xeon.

    Have a nice day, folks.
    Xeon.
    "Hell is calling for you!" - Rufus, from Valkyrie Profile 2 : Silmeria

    "I'm getting tired of you devils.....finishing strike......Final Blast!" - Arngrim, from Valkyrie Profile 2 : Silmeria

  14. #1859
    Join Date
    Dec 2002
    Posts
    1,050

    Re: The Boring Thread

    Tequila hallutionations aren't boring, Zeon. Wrong thread !

  15. #1860
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: The Boring Thread

    Quote Originally Posted by Xeon
    Anyway, how are things here? Just checked my CodeGuru position today and saw that I was ranked No. 18 based on the total number of posts.
    No. 18 among hundreds of thousands of members is an achievement, but....I was No. 7 once! Andreas Masur is now No. 1, with 12,600++ posts? How can he be that fast? Grrrr......
    Well... Take a look at this FAQ... no just kidding, well he is here more often than you...

    Quote Originally Posted by Xeon
    I WANT REVENGE!
    THE LORD IS BACK!
    CAGES CAN'T KEEP ME,
    I WILL BE FREE SOON!

    I roar like the jungle,
    my eyes are bleeding.
    I rip the tigers apart,
    I devour their bones.

    I prowl the Savannah,
    searching for a worthy beast.
    I tear up the lions,
    I shriek in psychotism.
    *Lol* ... Are you trying to mimic Simon666? ... Nice try though
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

Page 124 of 157 FirstFirst ... 2474114121122123124125126127134 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center