Click here to Skip to main content
15,880,427 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 times when I really wonder exactly what I was thinking ... Pin
Dan Neely20-Apr-21 5:39
Dan Neely20-Apr-21 5:39 
GeneralC++ & Thinking about SSD & wear level Pin
raddevus27-Mar-21 11:58
mvaraddevus27-Mar-21 11:58 
GeneralRe: C++ & Thinking about SSD & wear level (updated) Pin
Peter_in_278027-Mar-21 16:03
professionalPeter_in_278027-Mar-21 16:03 
GeneralRe: C++ & Thinking about SSD & wear level (updated) Pin
raddevus27-Mar-21 17:47
mvaraddevus27-Mar-21 17:47 
GeneralRe: C++ & Thinking about SSD & wear level (updated) Pin
David O'Neil28-Mar-21 3:29
professionalDavid O'Neil28-Mar-21 3:29 
GeneralRe: C++ & Thinking about SSD & wear level (updated) Pin
raddevus28-Mar-21 3:37
mvaraddevus28-Mar-21 3:37 
GeneralRe: C++ & Thinking about SSD & wear level Pin
David O'Neil28-Mar-21 4:14
professionalDavid O'Neil28-Mar-21 4:14 
GeneralRe: C++ & Thinking about SSD & wear level Pin
raddevus28-Mar-21 5:11
mvaraddevus28-Mar-21 5:11 
It probably is. My C/C++ skills are very rusty and I was just trying the quickest way to return a string and found that type. Sorry for the inconvenience.
I didn't want to install Visual Studio on my machine so I'm using Visual Studio Code and MinGW.
I kind of blindly stumbled my way through to get that code working. Blush | :O
David O'Neil wrote:
Is std::__cxx11 a GCC-only namespace?

GeneralRe: C++ & Thinking about SSD & wear level Pin
David O'Neil28-Mar-21 11:56
professionalDavid O'Neil28-Mar-21 11:56 
GeneralRe: C++ & Thinking about SSD & wear level Pin
raddevus28-Mar-21 12:50
mvaraddevus28-Mar-21 12:50 
GeneralRe: C++ & Thinking about SSD & wear level Pin
Dan Neely20-Apr-21 5:41
Dan Neely20-Apr-21 5:41 
GeneralAre you tired of keeping up with the latest changes? Pin
Slow Eddie20-Mar-21 2:58
professionalSlow Eddie20-Mar-21 2:58 
GeneralRe: Are you tired of keeping up with the latest changes? Pin
Julian Ragan20-Mar-21 3:22
Julian Ragan20-Mar-21 3:22 
GeneralRe: Are you tired of keeping up with the latest changes? Pin
GuyThiebaut24-Mar-21 0:32
professionalGuyThiebaut24-Mar-21 0:32 
GeneralRe: Are you tired of keeping up with the latest changes? Pin
Gary R. Wheeler5-May-21 14:20
Gary R. Wheeler5-May-21 14:20 
GeneralRe: Are you tired of keeping up with the latest changes? Pin
Super Lloyd5-May-21 15:11
Super Lloyd5-May-21 15:11 
GeneralRe: Are you tired of keeping up with the latest changes? Pin
obermd18-Aug-21 3:16
obermd18-Aug-21 3:16 
GeneralAbsolutely Horrific Pin
Brisingr Aerowing18-Mar-21 7:00
professionalBrisingr Aerowing18-Mar-21 7:00 
GeneralRe: Absolutely Horrific Pin
PIEBALDconsult18-Mar-21 7:13
mvePIEBALDconsult18-Mar-21 7:13 
GeneralRe: Absolutely Horrific Pin
Daniel Pfeffer18-Mar-21 7:43
professionalDaniel Pfeffer18-Mar-21 7:43 
GeneralRe: Absolutely Horrific Pin
Slow Eddie20-Mar-21 2:53
professionalSlow Eddie20-Mar-21 2:53 
GeneralRe: Absolutely Horrific Pin
Greg Utas18-Mar-21 8:17
professionalGreg Utas18-Mar-21 8:17 
GeneralRe: Absolutely Horrific Pin
obermd19-Mar-21 3:46
obermd19-Mar-21 3:46 
GeneralRe: Absolutely Horrific Pin
Greg Utas19-Mar-21 4:26
professionalGreg Utas19-Mar-21 4:26 
GeneralRe: Absolutely Horrific Pin
honey the codewitch27-Mar-21 12:43
mvahoney the codewitch27-Mar-21 12:43 

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.