The C/C++ thread 63 replies

Please wait...

Von II

aka noobst3R

50 XP

16th June 2008

0 Uploads

4,339 Posts

0 Threads

#21 9 years ago

Anybody F? =p




Raz0r

Worse than most terrible

50 XP

27th September 2006

0 Uploads

6,737 Posts

0 Threads

#22 9 years ago

Okay, folks. Prepare for ultimate mindfuck.

Spoiler: Show

static void _( void ) { char *__; char ___[____]; long _____; const char *______; _________ _______;

________ = false;

__________( "a" ); ___________( ___, _____________________(___), "b", ____________ ); _____ = _____________( ___, &_______, ______________ );

if ( !_______ ) { __________( "c", ___ ); ___________( ___, _____________________(___), "d" ); __________( "e", ___ ); _____ = _____________( ___, &_______, ______________ ); if ( !_______ ) { __________( "f", ___ ); _______________(); return; } }

if ( !_____ ) { __________( "g", ___ ); _______________(); ________________( _______ ); return; }

if ( (__ = (char*)______________________(_____+___________________________________)) == __________________________________ ) { __________( "h" ); _______________(); return; }

_________________( __, _____, _______ ); ________________( _______ ); __[_____] = __________________________________; __________________( __ );

while ( ___________________________________ ) { int _________________________ = __________________________________; int __________________________ = __________________________________;

______ = ___________________(); if ( !______[__________________________________] ) break; if ( !____________________( ______, "i" ) ) if ( !________________________() ) continue;

for (_________________________=_________________________________; _________________________<___________________________; _________________________++) { for (__________________________=_________________________________; __________________________<____________________________; __________________________++) { char _____________________________[______________________________]; _______________________________( _____________________________, _________________________________, _____________________(_____________________________) ); ________________________________( _____________________________, va( "j", ____________________________________( _________________________ ), _____________________________________( __________________________ ) ) ); if ( !____________________( ______, _____________________________ ) ) if ( !______________________________________( _________________________, __________________________ ) ) continue; } } }

_______________________( __ ); ________ = true;

_______________(); return; }

This lovely piece of code was written by me - it is all perfectly valid C and C++. It will read in a file, parse it into tokens, and apply the data to various instances of a few structs. It is currently in use in one of my projects.

Anyone care to decipher it?




SeinfeldisKindaOk

5.56 smoke Haji every day

55 XP

18th July 2008

0 Uploads

8,397 Posts

0 Threads

#23 9 years ago

D/D++ is better.




dinosaurJR

...

50 XP

14th March 2006

0 Uploads

8,116 Posts

0 Threads

#24 9 years ago

I hear that! CC is my favourite... but DD... wow....




Captain Fist

DEUS LO VULT

113,265 XP

17th December 2005

0 Uploads

10,629 Posts

0 Threads

#25 9 years ago

Nerds.




G.R.A.E.M.E. VIP Member

No-Life Overwatch Player

178,803 XP

14th August 2008

0 Uploads

15,861 Posts

0 Threads

#26 9 years ago

Pffft. C/C++. Learn2program C# and COBOL. ;)


Formerly known as Graeme and Arld.



Cheese!

Son. I am dissapoint.

50 XP

8th August 2007

0 Uploads

3,495 Posts

0 Threads

#27 9 years ago

You know you guys could use the tags. lol

[code] int main() { cout << "Ohai thar!" << endl; return 1; }




Sadim-Al-Bouncer

shaken - not stirred

50 XP

9th June 2009

0 Uploads

8,262 Posts

0 Threads

#28 9 years ago

Cobalt weapons




eezstreet

Lord of the .DCC files

50 XP

16th June 2008

0 Uploads

2,662 Posts

0 Threads

#29 9 years ago

@razor - You expect us to fill in the blanks?




Andron Taps Forum Mod

Faktrl is Best Pony

261,840 XP

10th September 2007

4 Uploads

21,763 Posts

1,754 Threads

#30 9 years ago

No, actually all his variables are underscores ;)

Or maybe he does want us to fill in the blanks :silly:


"I'd shush her zephyr." ~ Zephyr.