Click here to Skip to main content
15,886,919 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: A backslash in C++ Pin
Tsuda Kageyu14-Jan-14 21:13
Tsuda Kageyu14-Jan-14 21:13 
GeneralRe: A backslash in C++ Pin
Bernhard Hiller14-Jan-14 21:44
Bernhard Hiller14-Jan-14 21:44 
GeneralRe: A backslash in C++ Pin
Nicholas Marty15-Jan-14 0:43
professionalNicholas Marty15-Jan-14 0:43 
GeneralRe: A backslash in C++ Pin
Rob Grainger16-Jan-14 23:54
Rob Grainger16-Jan-14 23:54 
GeneralRe: A backslash in C++ Pin
Lutosław17-Jan-14 9:43
Lutosław17-Jan-14 9:43 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 21:25
professionalArgonia14-Jan-14 21:25 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 21:40
mvePete O'Hanlon14-Jan-14 21:40 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 21:50
professionalArgonia14-Jan-14 21:50 
Nodepad++ supports coloring. I just tested and it changed the color of the if statement to green.
Note: you need to save the file with the proper extension to enable the coloring of the text.

Edit : Even with Borland c++ and djgpp compilers under dos you still have the proper coloring
Microsoft ... the only place where VARIANT_TRUE != true


modified 15-Jan-14 3:59am.

GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:28
mvePete O'Hanlon14-Jan-14 22:28 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 22:38
Sentenryu14-Jan-14 22:38 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:45
mvePete O'Hanlon14-Jan-14 22:45 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 22:49
professionalArgonia14-Jan-14 22:49 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 22:52
mvePete O'Hanlon14-Jan-14 22:52 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 23:08
Sentenryu14-Jan-14 23:08 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 23:11
mvePete O'Hanlon14-Jan-14 23:11 
GeneralRe: A backslash in C++ Pin
Sentenryu14-Jan-14 23:15
Sentenryu14-Jan-14 23:15 
GeneralRe: A backslash in C++ Pin
Pete O'Hanlon14-Jan-14 23:24
mvePete O'Hanlon14-Jan-14 23:24 
GeneralRe: A backslash in C++ Pin
Nagy Vilmos14-Jan-14 23:57
professionalNagy Vilmos14-Jan-14 23:57 
GeneralRe: A backslash in C++ Pin
Sentenryu15-Jan-14 0:06
Sentenryu15-Jan-14 0:06 
GeneralRe: A backslash in C++ Pin
Chris Quinn14-Jan-14 23:55
Chris Quinn14-Jan-14 23:55 
GeneralRe: A backslash in C++ Pin
Brisingr Aerowing15-Jan-14 14:34
professionalBrisingr Aerowing15-Jan-14 14:34 
GeneralRe: A backslash in C++ Pin
loctrice23-Jan-14 5:15
loctrice23-Jan-14 5:15 
GeneralRe: A backslash in C++ Pin
Brisingr Aerowing10-Feb-14 15:29
professionalBrisingr Aerowing10-Feb-14 15:29 
GeneralRe: A backslash in C++ Pin
loctrice23-Jan-14 5:14
loctrice23-Jan-14 5:14 
GeneralRe: A backslash in C++ Pin
Argonia14-Jan-14 22:46
professionalArgonia14-Jan-14 22:46 

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.