Click here to Skip to main content
14,494,682 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: postfix increment and decrement can get bent Pin
W Balboos, GHB4-Dec-19 0:57
mveW Balboos, GHB4-Dec-19 0:57 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 1:17
mvahoney the codewitch4-Dec-19 1:17 
GeneralRe: postfix increment and decrement can get bent Pin
lw@zi 4-Dec-19 2:11
professional lw@zi 4-Dec-19 2:11 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 2:16
mvahoney the codewitch4-Dec-19 2:16 
GeneralRe: postfix increment and decrement can get bent Pin
lw@zi 4-Dec-19 2:18
professional lw@zi 4-Dec-19 2:18 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 2:19
mvahoney the codewitch4-Dec-19 2:19 
GeneralRe: postfix increment and decrement can get bent Pin
lw@zi 4-Dec-19 2:27
professional lw@zi 4-Dec-19 2:27 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 2:29
mvahoney the codewitch4-Dec-19 2:29 
The other problem is your version isn't contesting the stack

try something like

if(i++>--i) {
// dummy
}

vs
if(++i>--i) {
// dummy
}


in your test, and then run it in release mode
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: postfix increment and decrement can get bent Pin
lw@zi 4-Dec-19 2:42
professional lw@zi 4-Dec-19 2:42 
GeneralRe: postfix increment and decrement can get bent Pin
honey the codewitch4-Dec-19 2:43
mvahoney the codewitch4-Dec-19 2:43 
GeneralRe: postfix increment and decrement can get bent Pin
F-ES Sitecore4-Dec-19 2:54
mveF-ES Sitecore4-Dec-19 2:54 
GeneralWSO CCC OTD 2019-12-04 Pin
OriginalGriff3-Dec-19 21:44
mveOriginalGriff3-Dec-19 21:44 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
Pete O'Hanlon3-Dec-19 21:56
subeditorPete O'Hanlon3-Dec-19 21:56 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
OriginalGriff3-Dec-19 22:11
mveOriginalGriff3-Dec-19 22:11 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
digimanus3-Dec-19 23:09
Memberdigimanus3-Dec-19 23:09 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
OriginalGriff3-Dec-19 23:19
mveOriginalGriff3-Dec-19 23:19 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
super4-Dec-19 0:12
professionalsuper4-Dec-19 0:12 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
OriginalGriff4-Dec-19 0:19
mveOriginalGriff4-Dec-19 0:19 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
0x01AA4-Dec-19 0:23
professional0x01AA4-Dec-19 0:23 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
OriginalGriff4-Dec-19 0:27
mveOriginalGriff4-Dec-19 0:27 
GeneralRe: WSO CCC OTD 2019-12-04 Pin
musefan4-Dec-19 1:24
Membermusefan4-Dec-19 1:24 
GeneralRe: WSO CCC OTD 2019-12-04 - we have a winner! Pin
OriginalGriff4-Dec-19 1:32
mveOriginalGriff4-Dec-19 1:32 
GeneralRe: WSO CCC OTD 2019-12-04 - we have a winner! Pin
musefan4-Dec-19 1:45
Membermusefan4-Dec-19 1:45 
QuestionNeed an opinion: on semantic code meaning changes Pin
honey the codewitch3-Dec-19 21:31
mvahoney the codewitch3-Dec-19 21:31 
AnswerRe: Need an opinion: on semantic code meaning changes Pin
phil.o3-Dec-19 22:05
mvephil.o3-Dec-19 22:05 

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.