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

C / C++ / MFC

 
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 
AnswerRe: Output of the simple question Pin
Rajesh R Subramanian8-Jun-09 0:21
professionalRajesh R Subramanian8-Jun-09 0:21 
int <font color=red>a</font> = 1;

a += ( <font color=red>a</font>+= 3, <font color=gray>5, a</font> );

a += ( <font color=red>a</font>+= 3 ); //(Anything after the first comma will be ignored by the compiler. See <a href="http://msdn.microsoft.com/en-us/library/t29e07xd(VS.80).aspx">Sequential evaluation operator</a>[<a href="http://msdn.microsoft.com/en-us/library/t29e07xd(VS.80).aspx" target="_blank" title="New Window">^</a>]

a += ( a = <font color=red>a</font>+3) //but a was delcared 1, so the expression <font color=red>a</font>=1+3 makes RHS value as 4.

a += a; //But <font color=red>a</font> is 4 now before executing this statement.
        //Therefore adding another 4, the resultant  a = 8. Makes perfect sense to me.



shubhi wrote:
In AS/400’s C showing output: 5


Then that compiler sucks.


It is a crappy thing, but it's life -^ Carlo Pallini

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 
GeneralRe: Get Bitmap* CBitmap* of current view Pin
CPallini8-Jun-09 0:34
mveCPallini8-Jun-09 0:34 

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.