Click here to Skip to main content
15,895,709 members

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: There are errors and errors... Pin
ricmil4224-Apr-09 3:12
ricmil4224-Apr-09 3:12 
GeneralCharToInt Pin
Paulo Zemek17-Apr-09 2:20
mvaPaulo Zemek17-Apr-09 2:20 
GeneralRe: CharToInt Pin
Steve Wellens17-Apr-09 3:42
Steve Wellens17-Apr-09 3:42 
GeneralRe: CharToInt Pin
bulg21-Apr-09 11:12
bulg21-Apr-09 11:12 
GeneralRe: CharToInt Pin
riced17-Apr-09 6:26
riced17-Apr-09 6:26 
JokeRe: CharToInt Pin
Yusuf21-Apr-09 5:11
Yusuf21-Apr-09 5:11 
GeneralRe: CharToInt Pin
Kenneth Ballard17-Apr-09 6:30
Kenneth Ballard17-Apr-09 6:30 
GeneralRe: CharToInt Pin
PIEBALDconsult17-Apr-09 11:24
mvePIEBALDconsult17-Apr-09 11:24 
return ( "0123456789ABCDEF".IndexOf ( pcChar ) ) ; Big Grin | :-D

Though it still doesn't support lowercase letters.
GeneralRe: CharToInt Pin
Luc Pattyn17-Apr-09 11:36
sitebuilderLuc Pattyn17-Apr-09 11:36 
GeneralRe: CharToInt Pin
PIEBALDconsult17-Apr-09 12:47
mvePIEBALDconsult17-Apr-09 12:47 
GeneralRe: CharToInt Pin
Jeroen De Dauw21-Apr-09 0:30
Jeroen De Dauw21-Apr-09 0:30 
GeneralRe: CharToInt Pin
OriginalGriff17-Apr-09 22:39
mveOriginalGriff17-Apr-09 22:39 
JokeRe: CharToInt Pin
Paulo Zemek18-Apr-09 12:51
mvaPaulo Zemek18-Apr-09 12:51 
GeneralRe: CharToInt [modified] Pin
OriginalGriff18-Apr-09 22:10
mveOriginalGriff18-Apr-09 22:10 
GeneralRe: CharToInt Pin
OriginalGriff18-Apr-09 22:12
mveOriginalGriff18-Apr-09 22:12 
GeneralRe: CharToInt Pin
Paulo Zemek20-Apr-09 0:53
mvaPaulo Zemek20-Apr-09 0:53 
GeneralRe: CharToInt Pin
riced20-Apr-09 5:05
riced20-Apr-09 5:05 
GeneralRe: CharToInt Pin
Jeroen De Dauw21-Apr-09 3:20
Jeroen De Dauw21-Apr-09 3:20 
GeneralRe: CharToInt Pin
Lutosław19-Apr-09 1:00
Lutosław19-Apr-09 1:00 
GeneralRe: CharToInt Pin
Brady Kelly24-Apr-09 9:12
Brady Kelly24-Apr-09 9:12 
GeneralRe: CharToInt Pin
Rajesh R Subramanian30-Apr-09 1:09
professionalRajesh R Subramanian30-Apr-09 1:09 
GeneralSetters and Getters evil future [modified] PinPopular
stanislav.simunec15-Apr-09 23:53
stanislav.simunec15-Apr-09 23:53 
JokeRe: Setters and Getters evil future [modified] Pin
zvjerka2415-Apr-09 23:59
zvjerka2415-Apr-09 23:59 
GeneralRe: Setters and Getters evil future Pin
stanislav.simunec16-Apr-09 3:55
stanislav.simunec16-Apr-09 3:55 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos16-Apr-09 11:24
professionalNagy Vilmos16-Apr-09 11:24 

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.