- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
(void*)(1/(WIZARD-WIZARD));
Admin
free(comment->getPrevious());
Admin
Access Violation! Tried to free readonly memory at address 0x00000000!
Admin
And he promptly broke all the other code out there that was written to deal with this WTFery so was henceforth fired and his changes rolled back in GI... oh wait.. they didn't use source control, anyway, he was still fired.
Admin
int i = 0; #define WIZARD (--i)
Admin
Erm, I mean (dear backticks, dont fail me now <prays>):
Admin
This really is is billant brillant brillant!
Admin
Does the wizard do nothing until finalized? Why have a wizard?
Admin
Any chance you guys can fix/update the RSS feed. It's been broken since the start of this week. Last entry is the Code Comedians from last friday.
Admin
TRWTF is broken RSS feed...
Admin
To play pinball.
Admin
That define is useless since its past the Nullpointer
Admin
is only ever true on the first loop, so it would work just as badly with the continue moved into the previous
if
block instead.Addendum 2019-07-09 08:43: Although, the code as given does weirder things if the past items include duplicates...