Click here to Skip to main content
15,877,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to save the filename retrieved from a dialog class using CMFCEditBrowseCtrl? Pin
Jochen Arndt11-Jul-17 9:08
professionalJochen Arndt11-Jul-17 9:08 
GeneralRe: How to save the filename retrieved from a dialog class using CMFCEditBrowseCtrl? Pin
lolici11-Jul-17 9:18
lolici11-Jul-17 9:18 
GeneralRe: How to save the filename retrieved from a dialog class using CMFCEditBrowseCtrl? Pin
lolici15-Jul-17 3:53
lolici15-Jul-17 3:53 
GeneralRe: How to save the filename retrieved from a dialog class using CMFCEditBrowseCtrl? Pin
Jochen Arndt15-Jul-17 22:00
professionalJochen Arndt15-Jul-17 22:00 
QuestionProblem in precedence of operators. Pin
parkavikkk7-Jul-17 21:25
parkavikkk7-Jul-17 21:25 
AnswerRe: Problem in precedence of operators. Pin
Richard MacCutchan7-Jul-17 22:02
mveRichard MacCutchan7-Jul-17 22:02 
GeneralRe: Problem in precedence of operators. Pin
parkavikkk7-Jul-17 22:30
parkavikkk7-Jul-17 22:30 
AnswerRe: Problem in precedence of operators. Pin
Jochen Arndt7-Jul-17 22:15
professionalJochen Arndt7-Jul-17 22:15 
See C++ Operator Precedence - cppreference.com[^].

The first step is inserting parentheses according to the predence and order:
z = (x++) - (((--y) * b) / a);

Then replace the variables with their values:
z = (5++) - (((--(-10)) * 2) / 4);

Now solve step by step but observe the special handling of the postfix operator which will return a temporary copy that contains the value before the operation (that means x will be changed but the initial value of 5 is used for the calculation). Observe also that results might get rounded wirh integer arithmetic:
z = (5) - ((-11 * 2) / 4);
z = 5 - (-22 / 4);
// The remaining steps are left to your exercise

AnswerRe: Problem in precedence of operators. Pin
Victor Nijegorodov8-Jul-17 11:13
Victor Nijegorodov8-Jul-17 11:13 
GeneralRe: Problem in precedence of operators. Pin
jschell10-Jul-17 4:33
jschell10-Jul-17 4:33 
Questionwhat is pla.h ? Pin
Flaze077-Jul-17 6:45
Flaze077-Jul-17 6:45 
AnswerRe: what is pla.h ? Pin
jeron17-Jul-17 7:20
jeron17-Jul-17 7:20 
AnswerRe: what is pla.h ? Pin
David Crow7-Jul-17 7:25
David Crow7-Jul-17 7:25 
GeneralRe: what is pla.h ? Pin
Flaze078-Jul-17 16:16
Flaze078-Jul-17 16:16 
Question(latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Maximilien6-Jul-17 5:56
Maximilien6-Jul-17 5:56 
AnswerRe: (latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Michael_Davies6-Jul-17 7:33
Michael_Davies6-Jul-17 7:33 
GeneralRe: (latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Maximilien7-Jul-17 5:30
Maximilien7-Jul-17 5:30 
GeneralRe: (latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Michael_Davies7-Jul-17 5:49
Michael_Davies7-Jul-17 5:49 
GeneralRe: (latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Richard Andrew x647-Jul-17 6:35
professionalRichard Andrew x647-Jul-17 6:35 
GeneralRe: (latest VS2017) Using the C++ Core Check (code analysis) trigger warning on corrected code. Pin
Michael_Davies7-Jul-17 8:27
Michael_Davies7-Jul-17 8:27 
QuestionAccess Driver in Embedded Standard OS Pin
divya036-Jul-17 0:48
divya036-Jul-17 0:48 
AnswerRe: Access Driver in Embedded Standard OS Pin
Richard MacCutchan6-Jul-17 1:02
mveRichard MacCutchan6-Jul-17 1:02 
GeneralRe: Access Driver in Embedded Standard OS Pin
divya036-Jul-17 1:42
divya036-Jul-17 1:42 
GeneralRe: Access Driver in Embedded Standard OS Pin
Richard MacCutchan6-Jul-17 2:25
mveRichard MacCutchan6-Jul-17 2:25 
GeneralRe: Access Driver in Embedded Standard OS Pin
divya036-Jul-17 2:31
divya036-Jul-17 2:31 

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.