Click here to Skip to main content
15,912,756 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: problem in splitter [modified] Pin
Iain Clarke, Warrior Programmer23-Oct-09 4:43
Iain Clarke, Warrior Programmer23-Oct-09 4:43 
QuestionMFC using Visual Studio 2005 Pin
RS.Ratheesh22-Oct-09 1:36
RS.Ratheesh22-Oct-09 1:36 
AnswerRe: MFC using Visual Studio 2005 Pin
Randor 22-Oct-09 2:04
professional Randor 22-Oct-09 2:04 
QuestionOutlook Contacts Pin
Anil Kumar.Arvapalli22-Oct-09 1:27
Anil Kumar.Arvapalli22-Oct-09 1:27 
AnswerRe: Outlook Contacts Pin
KarstenK22-Oct-09 22:30
mveKarstenK22-Oct-09 22:30 
QuestionWrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 1:15
professional__yash__22-Oct-09 1:15 
AnswerRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
CPallini22-Oct-09 1:44
mveCPallini22-Oct-09 1:44 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 1:50
professional__yash__22-Oct-09 1:50 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
CPallini22-Oct-09 1:52
mveCPallini22-Oct-09 1:52 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 2:05
professional__yash__22-Oct-09 2:05 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
David Crow22-Oct-09 2:48
David Crow22-Oct-09 2:48 
AnswerRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
SandipG 22-Oct-09 1:57
SandipG 22-Oct-09 1:57 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 2:02
professional__yash__22-Oct-09 2:02 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
SandipG 22-Oct-09 2:09
SandipG 22-Oct-09 2:09 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
Covean22-Oct-09 2:29
Covean22-Oct-09 2:29 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 2:40
professional__yash__22-Oct-09 2:40 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
SandipG 22-Oct-09 2:44
SandipG 22-Oct-09 2:44 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
Covean22-Oct-09 2:48
Covean22-Oct-09 2:48 
GeneralHow do you interpret the results (I have provided my comments) Pin
__yash__22-Oct-09 2:35
professional__yash__22-Oct-09 2:35 
GeneralRe: How do you interpret the results (I have provided my comments) Pin
SandipG 22-Oct-09 2:45
SandipG 22-Oct-09 2:45 
GeneralRe: How do you interpret the results (I have provided my comments) Pin
Covean22-Oct-09 2:45
Covean22-Oct-09 2:45 
AnswerRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
David Crow22-Oct-09 2:55
David Crow22-Oct-09 2:55 
GeneralRe: Wrong evaluation of pre- and post-increment on variables: What is wrong here?!?! Pin
__yash__22-Oct-09 20:52
professional__yash__22-Oct-09 20:52 
DavidCrow wrote:
All of this "I expected..." and "it should be..." stuff is pointless


What I mean to imply here is that based on what I have read/know the output should have been so and so.....So may be my understanding of this concept (of calling convention, sequence points) needs to be brushed up....It *could be* my ignorance on the matter, lets see, I'll read more, do more research and see what's missing Smile | :)

DavidCrow wrote:
Compiler vendors are free to evaluate such expressions as they wish just so long as all side effects of previous evaluations have been performed at each sequence point.


Expressions....true, but the point here is about "passing variables" and C does specify how to do that: either R-to-L or L-to-R, we can make that selection.

DavidCrow wrote:
In your printf example, the order in which the arguments are evaluated is not specified,

I did not specify that but I m using the default calling convention under which variables are passed R-to-L
QuestionText from the Html Table tag. Pin
NaveenHS22-Oct-09 1:09
NaveenHS22-Oct-09 1:09 
QuestionRe: Text from the Html Table tag. Pin
David Crow22-Oct-09 3:08
David Crow22-Oct-09 3:08 

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.