Click here to Skip to main content
15,513,142 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: 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 
declaring it on the stack? ouch.

I only return char*s from functions if I'm using some kind of memory management scheme that allows for it. Unless you implement one C and C++ ... doesn't.

I can't judge people too badly though, considering I just got schooled on using leading underscores in my local member names (a habit I picked up from C#)

But still, you should understand scoping if you're going to get paid to code in the thing.
Real programmers use butterflies

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 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 16:10
mvahoney the codewitch14-Dec-20 16:10 
GeneralRe: C++ is love Pin
k505414-Dec-20 17:40
mvek505414-Dec-20 17:40 
GeneralRe: C++ is love Pin
Rick York14-Dec-20 17:48
mveRick York14-Dec-20 17:48 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 18:07
mvahoney the codewitch14-Dec-20 18:07 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 18:01
mvahoney the codewitch14-Dec-20 18:01 
GeneralRe: C++ is love Pin
raddevus14-Dec-20 19:08
mvaraddevus14-Dec-20 19:08 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 19:17
mvahoney the codewitch14-Dec-20 19:17 
GeneralRe: C++ is love Pin
Member 1330167915-Dec-20 1:14
Member 1330167915-Dec-20 1:14 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 2:13
mvahoney the codewitch15-Dec-20 2:13 
GeneralRe: C++ is love Pin
Member 1330167915-Dec-20 3:12
Member 1330167915-Dec-20 3:12 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 3:20
mvahoney the codewitch15-Dec-20 3:20 

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   629 votes