Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to add element to the desktop's menu? Pin
julych17-Jan-03 3:48
julych17-Jan-03 3:48 
Generalis this VC++ compiler bug, or my bug ? :) Pin
rrrado17-Jan-03 3:48
rrrado17-Jan-03 3:48 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
jhwurmbach17-Jan-03 4:07
jhwurmbach17-Jan-03 4:07 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
rrrado17-Jan-03 4:11
rrrado17-Jan-03 4:11 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
jhwurmbach17-Jan-03 4:16
jhwurmbach17-Jan-03 4:16 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
Joaquín M López Muñoz17-Jan-03 4:57
Joaquín M López Muñoz17-Jan-03 4:57 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
Tim Smith17-Jan-03 5:02
Tim Smith17-Jan-03 5:02 
GeneralRe: is this VC++ compiler bug, or my bug ? :) Pin
Mike Nordell17-Jan-03 23:43
Mike Nordell17-Jan-03 23:43 
Tim Smith wrote:
IMHO, it is probably a legacy issue

No offence, but your opinion and facts are disagreeing. The facts carry more weight.

Both C and C++ have the concept of sequence points. These are well-defined. If you modify something twice or more with no sequence point(s) inbetween those modifications, you are invoking implementation-defined behaviour. I.e. there's no way to tell what the outcome will be.

I believe the stated reason it's specified like this (or not specified, depending on how you look at it) is to allow optimizers to do their job by restructuring the code. And, indeed, non-optimized builds often just evaluates the expressions as-is, while an agressive optimizer generates machine code that bears little or no resemblance to the original source code.
GeneralWindow positon when maxed Pin
S O S17-Jan-03 2:18
S O S17-Jan-03 2:18 
GeneralRe: Window positon when maxed Pin
peterchen17-Jan-03 3:03
peterchen17-Jan-03 3:03 
GeneralRe: Window positon when maxed Pin
S O S17-Jan-03 3:41
S O S17-Jan-03 3:41 
GeneralRe: Window positon when maxed Pin
peterchen17-Jan-03 4:40
peterchen17-Jan-03 4:40 
GeneralRe: Window positon when maxed Pin
S O S18-Jan-03 0:19
S O S18-Jan-03 0:19 
GeneralRe: Window positon when maxed Pin
peterchen18-Jan-03 0:44
peterchen18-Jan-03 0:44 
QuestionAnyone encoutered this error ???? Pin
BlackRider17-Jan-03 2:12
BlackRider17-Jan-03 2:12 
AnswerRe: Anyone encoutered this error? YES. Pin
Bartosz Bien17-Jan-03 2:18
Bartosz Bien17-Jan-03 2:18 
GeneralRe: Anyone encoutered this error? YES. Pin
BlackRider17-Jan-03 3:00
BlackRider17-Jan-03 3:00 
GeneralRe: Anyone encoutered this error? YES. Pin
Jim A. Johnson17-Jan-03 5:44
Jim A. Johnson17-Jan-03 5:44 
QuestionHow to retrieve the object path from a shortcut? Pin
Abin17-Jan-03 1:22
Abin17-Jan-03 1:22 
AnswerRe: How to retrieve the object path from a shortcut? Pin
AlexO17-Jan-03 2:48
AlexO17-Jan-03 2:48 
GeneralPut data into excel Pin
Igor Kondrasovas17-Jan-03 1:11
professionalIgor Kondrasovas17-Jan-03 1:11 
GeneralRe: Put data into excel Pin
xxhimanshu17-Jan-03 1:21
xxhimanshu17-Jan-03 1:21 
GeneralRe: Put data into excel Pin
HENDRIK R17-Jan-03 1:30
HENDRIK R17-Jan-03 1:30 
GeneralRe: Put data into excel Pin
peterchen17-Jan-03 1:28
peterchen17-Jan-03 1:28 
GeneralRe: Put data into excel Pin
Ryan B.17-Jan-03 3:11
Ryan B.17-Jan-03 3:11 

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.