Click here to Skip to main content
15,887,326 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: send message to window Pin
Rajesh R Subramanian8-Jun-09 2:06
professionalRajesh R Subramanian8-Jun-09 2:06 
GeneralRe: send message to window [modified] Pin
trioum8-Jun-09 2:32
trioum8-Jun-09 2:32 
GeneralRe: send message to window Pin
Rajesh R Subramanian8-Jun-09 2:57
professionalRajesh R Subramanian8-Jun-09 2:57 
GeneralRe: send message to window [modified] Pin
trioum8-Jun-09 3:04
trioum8-Jun-09 3:04 
GeneralRe: send message to window [modified] Pin
trioum9-Jun-09 18:53
trioum9-Jun-09 18:53 
QuestionOutput of the simple question [modified] Pin
shubhi7-Jun-09 23:44
shubhi7-Jun-09 23:44 
AnswerRe: Output of the simple question Pin
CPallini8-Jun-09 0:19
mveCPallini8-Jun-09 0:19 
GeneralRe: Output of the simple question Pin
molesworth8-Jun-09 0:38
molesworth8-Jun-09 0:38 
It's a correct answer, but maybe not what was intended.

It seems to be evaluating it as ((a+=3), 5, a) and returning the new value of 'a' (the AS/400 compiler returns the old value of 'a' I think).

I'll have to find a precedence table, as I'd have expected it to be (a += (3, 5, a)), which would give a different result (4)...

edit : looks like the assignment has higher precedence, according to MSDN. You learn something new every day Smile | :)

There are three kinds of people in the world - those who can count and those who can't...

AnswerRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 0:21
professionalRajesh R Subramanian8-Jun-09 0:21 
GeneralRe: Output of the simple question Pin
shubhi8-Jun-09 0:40
shubhi8-Jun-09 0:40 
GeneralRe: Output of the simple question [modified] Pin
Rajesh R Subramanian8-Jun-09 0:48
professionalRajesh R Subramanian8-Jun-09 0:48 
GeneralRe: Output of the simple question Pin
CPallini8-Jun-09 0:57
mveCPallini8-Jun-09 0:57 
GeneralRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 1:02
professionalRajesh R Subramanian8-Jun-09 1:02 
GeneralRe: Output of the simple question Pin
Anoop Dashora8-Jun-09 1:14
Anoop Dashora8-Jun-09 1:14 
GeneralRe: Output of the simple question [modified] Pin
CPallini8-Jun-09 1:32
mveCPallini8-Jun-09 1:32 
GeneralRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 1:15
professionalRajesh R Subramanian8-Jun-09 1:15 
AnswerRe: Output of the simple question [modified] Pin
Stuart Dootson8-Jun-09 2:22
professionalStuart Dootson8-Jun-09 2:22 
QuestionHow to Open MyStore of Certificates Pin
UserNameless7-Jun-09 22:55
UserNameless7-Jun-09 22:55 
AnswerRe: How to Open MyStore of Certificates Pin
Chandrasekharan P8-Jun-09 0:03
Chandrasekharan P8-Jun-09 0:03 
GeneralRe: How to Open MyStore of Certificates Pin
UserNameless8-Jun-09 0:10
UserNameless8-Jun-09 0:10 
GeneralRe: How to Open MyStore of Certificates Pin
Chandrasekharan P8-Jun-09 0:18
Chandrasekharan P8-Jun-09 0:18 
GeneralRe: How to Open MyStore of Certificates Pin
UserNameless8-Jun-09 0:29
UserNameless8-Jun-09 0:29 
QuestionGet Bitmap* CBitmap* of current view Pin
Anuj Sharma7-Jun-09 22:35
Anuj Sharma7-Jun-09 22:35 
AnswerRe: Get Bitmap* CBitmap* of current view Pin
CPallini7-Jun-09 23:24
mveCPallini7-Jun-09 23:24 
GeneralRe: Get Bitmap* CBitmap* of current view Pin
Anuj Sharma8-Jun-09 0:33
Anuj Sharma8-Jun-09 0:33 

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.