Click here to Skip to main content
12,819,095 members (30,951 online)

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: Nested if-else statements... Pin
Lee Chetwynd24-Apr-13 6:07
memberLee Chetwynd24-Apr-13 6:07 
GeneralRe: Nested if-else statements... Pin
RafagaX24-Apr-13 6:41
memberRafagaX24-Apr-13 6:41 
GeneralRe: Nested if-else statements... Pin
tumbledDown2earth29-Apr-13 21:32
membertumbledDown2earth29-Apr-13 21:32 
GeneralRe: Nested if-else statements... Pin
fulloflove2-May-13 18:19
memberfulloflove2-May-13 18:19 
A right/wrong flag will make the code simpler. But I think you should place all the values in 2 arrays and use memcmp (or similar functions)
GeneralRe: Nested if-else statements... Pin
Filipe Moreira de Oliveira18-May-13 9:00
professionalFilipe Moreira de Oliveira18-May-13 9:00 
Answer[Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 7:47
professionalkburman622-Apr-13 7:47 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
Marco Bertschi22-Apr-13 8:18
professionalMarco Bertschi22-Apr-13 8:18 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
ProgramFOX22-Apr-13 8:25
member ProgramFOX22-Apr-13 8:25 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
d@nish 22-Apr-13 8:36
member d@nish 22-Apr-13 8:36 
GeneralRe: [Solved] Why Do Computer Counts from Zero. Pin
kburman622-Apr-13 8:44
professionalkburman622-Apr-13 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170308.1 | Last Updated 25 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid