Click here to Skip to main content
15,512,908 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
Rich Leyshon14-Dec-20 23:18
Rich Leyshon14-Dec-20 23:18 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
OriginalGriff14-Dec-20 23:28
mveOriginalGriff14-Dec-20 23:28 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
Sandeep Mewara14-Dec-20 23:39
mveSandeep Mewara14-Dec-20 23:39 
GeneralRe: WSO CCC OTD 2020-12-15 - We have a winner! Pin
OriginalGriff15-Dec-20 0:04
mveOriginalGriff15-Dec-20 0:04 
PraiseC++ is love Pin
honey the codewitch14-Dec-20 10:09
mvahoney the codewitch14-Dec-20 10:09 
GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 10:13
mveW Balboos, GHB14-Dec-20 10:13 
GeneralRe: C++ is love Pin
den2k8814-Dec-20 10:18
professionalden2k8814-Dec-20 10:18 
GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 10:24
mveW Balboos, GHB14-Dec-20 10:24 
Some of the references warn against its use.

So far as I can tell, it's based upon usage and gotcha's that are common in C - in other words, C is for grownup who take responsibility for their actions.

Simply put - know what you're doing when you do it. Don't free() it - well, duh! That's the point of using it. Beware of stack overflows. Always keep your wits about you with memory usage. Don't use in recursive functions or loops. In a loop, index the allocations into an array of pointers, or, if you want to reuse the same one, allocate it before the loop . . . just like the other memory functions.

Seems standard enough - for the grownups in the room

Ravings en masse^
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 10:45
mvahoney the codewitch14-Dec-20 10:45 
GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 11:01
mveW Balboos, GHB14-Dec-20 11:01 
GeneralRe: C++ is love Pin
Member 1330167915-Dec-20 0:59
Member 1330167915-Dec-20 0:59 
GeneralRe: C++ is love Pin
W Balboos, GHB15-Dec-20 1:45
mveW Balboos, GHB15-Dec-20 1:45 
JokeRe: C++ is love Pin
Daniel Pfeffer15-Dec-20 2:11
professionalDaniel Pfeffer15-Dec-20 2:11 
GeneralRe: C++ is love Pin
W Balboos, GHB15-Dec-20 2:43
mveW Balboos, GHB15-Dec-20 2:43 
GeneralRe: C++ is love Pin
jsc4215-Dec-20 4:49
professionaljsc4215-Dec-20 4:49 
PraiseRe: C++ is love Pin
Daniel Pfeffer15-Dec-20 9:05
professionalDaniel Pfeffer15-Dec-20 9:05 
GeneralRe: C++ is love Pin
k505415-Dec-20 4:56
mvek505415-Dec-20 4:56 
GeneralRe: C++ is love Pin
Kirk 1038982115-Dec-20 3:37
Kirk 1038982115-Dec-20 3:37 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 4:26
mvahoney the codewitch15-Dec-20 4:26 
GeneralRe: C++ is love Pin
James Lonero17-Dec-20 13:29
James Lonero17-Dec-20 13:29 
GeneralRe: C++ is love Pin
honey the codewitch17-Dec-20 13:57
mvahoney the codewitch17-Dec-20 13:57 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 19:22
mvahoney the codewitch14-Dec-20 19:22 
GeneralRe: C++ is love Pin
raddevus14-Dec-20 10:16
mvaraddevus14-Dec-20 10:16 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 10:46
mvahoney the codewitch14-Dec-20 10:46 
GeneralRe: C++ is love Pin
raddevus14-Dec-20 14:22
mvaraddevus14-Dec-20 14:22 

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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   627 votes