Click here to Skip to main content
16,004,906 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Maxwell Chen19-Feb-04 21:47
Maxwell Chen19-Feb-04 21:47 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Abin19-Feb-04 22:22
Abin19-Feb-04 22:22 
GeneralRe: visual c++ funny or its a bug? [Edited] Pin
Maxwell Chen19-Feb-04 22:41
Maxwell Chen19-Feb-04 22:41 
AnswerRe: visual c++ funny or its a bug? Pin
Mike Dimmick20-Feb-04 0:44
Mike Dimmick20-Feb-04 0:44 
GeneralRe: visual c++ funny or its a bug? Pin
abdul rafay abbasi20-Feb-04 21:44
abdul rafay abbasi20-Feb-04 21:44 
GeneralRe: visual c++ funny or its a bug? Pin
Mike Dimmick21-Feb-04 3:35
Mike Dimmick21-Feb-04 3:35 
AnswerRe: visual c++ funny or its a bug? Pin
jbarton20-Feb-04 3:31
jbarton20-Feb-04 3:31 
AnswerRe: visual c++ funny or its a bug? Pin
warlu20-Feb-04 20:48
warlu20-Feb-04 20:48 
if the program is:

int var = 10;
cout<<(var++ * var++);

the result is 102 OMG | :OMG:
and if the program is like this:

int var = 10;
cout<<((var++)*(var++));

the result is 100;

what i think is first the mutiplication operation is being taken place and the varible is getting incremented.

in vc++ programming guide present in MSDN library
unary operator (post increment) has the highest precedence

ok
u know the problem y it is happening
pls send a mail
GeneralCListBox Greying Pin
SVPG19-Feb-04 18:01
SVPG19-Feb-04 18:01 
Questionhow to share one dll with multiple instance Pin
Rajesh match19-Feb-04 17:56
Rajesh match19-Feb-04 17:56 
AnswerRe: how to share one dll with multiple instance Pin
DimpleSurana19-Feb-04 20:52
DimpleSurana19-Feb-04 20:52 
GeneralRe: how to share one dll with multiple instance Pin
Rajesh match19-Feb-04 21:23
Rajesh match19-Feb-04 21:23 
GeneralRe: how to share one dll with multiple instance Pin
DimpleSurana19-Feb-04 23:29
DimpleSurana19-Feb-04 23:29 
GeneralRe: how to share one dll with multiple instance Pin
Mike Beckerleg20-Feb-04 1:30
Mike Beckerleg20-Feb-04 1:30 
GeneralMFC and Messages handling Pin
Melflex19-Feb-04 16:58
Melflex19-Feb-04 16:58 
Questionwhere to get divx 5.02 encode? Pin
hxr60119-Feb-04 16:42
hxr60119-Feb-04 16:42 
AnswerRe: where to get divx 5.02 encode? Pin
Christian Graus19-Feb-04 17:08
protectorChristian Graus19-Feb-04 17:08 
Generala class function Pin
Anonymous19-Feb-04 16:02
Anonymous19-Feb-04 16:02 
GeneralRe: a class function Pin
Christian Graus19-Feb-04 17:11
protectorChristian Graus19-Feb-04 17:11 
GeneralRe: a class function Pin
warlu19-Feb-04 20:48
warlu19-Feb-04 20:48 
General? about compiler Pin
Snyp19-Feb-04 15:24
Snyp19-Feb-04 15:24 
GeneralRe: ? about compiler Pin
Maxwell Chen19-Feb-04 21:07
Maxwell Chen19-Feb-04 21:07 
GeneralData display question Pin
rmnowick19-Feb-04 11:43
rmnowick19-Feb-04 11:43 
GeneralRe: Data display question Pin
l a u r e n19-Feb-04 15:43
l a u r e n19-Feb-04 15:43 
GeneralRe: Data display question Pin
eggie515-May-04 10:54
eggie515-May-04 10:54 

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.