-
June 20th, 2005, 02:53 PM
#1846
Re: The Boring Thread
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.
-
June 20th, 2005, 03:04 PM
#1847
Re: The Boring Thread
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)
-
June 20th, 2005, 03:34 PM
#1848
Re: The Boring Thread
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. )
-
June 20th, 2005, 05:52 PM
#1849
Re: The Boring Thread
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.
-
June 20th, 2005, 06:25 PM
#1850
Re: The Boring Thread
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 !!
-
June 20th, 2005, 08:04 PM
#1851
Re: The Boring Thread
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!!!
-
June 21st, 2005, 05:54 AM
#1852
Re: The Boring Thread
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
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
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
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!
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
-
June 22nd, 2005, 04:07 PM
#1853
Re: The Boring Thread
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)
-
June 23rd, 2005, 02:01 AM
#1854
Re: The Boring Thread
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
-
June 23rd, 2005, 11:13 AM
#1855
Re: The Boring Thread
Originally Posted by Skoons
...what to do?
Fire the guy that wrote the question for bad programming practices
-
June 23rd, 2005, 11:44 AM
#1856
Re: The Boring Thread
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
-
June 24th, 2005, 08:32 AM
#1857
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.
-
June 26th, 2005, 09:19 AM
#1858
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
-
June 26th, 2005, 09:42 AM
#1859
Re: The Boring Thread
Tequila hallutionations aren't boring, Zeon. Wrong thread !
-
June 26th, 2005, 12:28 PM
#1860
Re: The Boring Thread
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...
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|