Click here to Skip to main content
15,881,092 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.

 
GeneralWSO CCC OTD 2020-12-15 Pin
OriginalGriff14-Dec-20 21:38
mveOriginalGriff14-Dec-20 21:38 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
Rich Leyshon14-Dec-20 22:18
Rich Leyshon14-Dec-20 22:18 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
OriginalGriff14-Dec-20 22:28
mveOriginalGriff14-Dec-20 22:28 
GeneralRe: WSO CCC OTD 2020-12-15 Pin
Sandeep Mewara14-Dec-20 22:39
mveSandeep Mewara14-Dec-20 22:39 
GeneralRe: WSO CCC OTD 2020-12-15 - We have a winner! Pin
OriginalGriff14-Dec-20 23:04
mveOriginalGriff14-Dec-20 23:04 
PraiseC++ is love PinPopular
honey the codewitch14-Dec-20 9:09
mvahoney the codewitch14-Dec-20 9:09 
GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 9:13
W Balboos, GHB14-Dec-20 9:13 
GeneralRe: C++ is love Pin
den2k8814-Dec-20 9:18
professionalden2k8814-Dec-20 9:18 
W∴ Balboos, GHB wrote:
I'd presume it used the stack for memory.

Yep, exactly.

I had the habit of making objects "stackable" whenever possible, for example strings had fixed size straight into the struct, so the whole object was a single contiguous dataspace easily allocatable in the stack and passed around with a memcpy. Of course it isn't alwasy the best option but I like it when it is.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X

GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 9:24
W Balboos, GHB14-Dec-20 9:24 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 9:45
mvahoney the codewitch14-Dec-20 9:45 
GeneralRe: C++ is love Pin
W Balboos, GHB14-Dec-20 10:01
W Balboos, GHB14-Dec-20 10:01 
GeneralRe: C++ is love Pin
Member 1330167914-Dec-20 23:59
Member 1330167914-Dec-20 23:59 
GeneralRe: C++ is love Pin
W Balboos, GHB15-Dec-20 0:45
W Balboos, GHB15-Dec-20 0:45 
JokeRe: C++ is love Pin
Daniel Pfeffer15-Dec-20 1:11
professionalDaniel Pfeffer15-Dec-20 1:11 
GeneralRe: C++ is love Pin
W Balboos, GHB15-Dec-20 1:43
W Balboos, GHB15-Dec-20 1:43 
GeneralRe: C++ is love Pin
jsc4215-Dec-20 3:49
professionaljsc4215-Dec-20 3:49 
PraiseRe: C++ is love Pin
Daniel Pfeffer15-Dec-20 8:05
professionalDaniel Pfeffer15-Dec-20 8:05 
GeneralRe: C++ is love Pin
k505415-Dec-20 3:56
mvek505415-Dec-20 3:56 
GeneralRe: C++ is love Pin
Kirk 1038982115-Dec-20 2:37
Kirk 1038982115-Dec-20 2:37 
GeneralRe: C++ is love Pin
honey the codewitch15-Dec-20 3:26
mvahoney the codewitch15-Dec-20 3:26 
GeneralRe: C++ is love Pin
James Lonero17-Dec-20 12:29
James Lonero17-Dec-20 12:29 
GeneralRe: C++ is love Pin
honey the codewitch17-Dec-20 12:57
mvahoney the codewitch17-Dec-20 12:57 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 18:22
mvahoney the codewitch14-Dec-20 18:22 
GeneralRe: C++ is love Pin
raddevus14-Dec-20 9:16
mvaraddevus14-Dec-20 9:16 
GeneralRe: C++ is love Pin
honey the codewitch14-Dec-20 9:46
mvahoney the codewitch14-Dec-20 9: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.