Click here to Skip to main content
15,898,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 5:46
Vaclav_7-Mar-10 5:46 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 7:15
Vaclav_7-Mar-10 7:15 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Avi Berger7-Mar-10 8:34
Avi Berger7-Mar-10 8:34 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 9:05
Vaclav_7-Mar-10 9:05 
AnswerRe: How to organize MFC project directory structure - main and DLL programs? Pin
Joe Woodbury7-Mar-10 9:50
professionalJoe Woodbury7-Mar-10 9:50 
GeneralRe: How to organize MFC project directory structure - main and DLL programs? Pin
Vaclav_7-Mar-10 12:08
Vaclav_7-Mar-10 12:08 
Questionabout *p++ [modified] Pin
HOW WHAT7-Mar-10 0:22
HOW WHAT7-Mar-10 0:22 
AnswerRe: about *p++ Pin
Richard MacCutchan7-Mar-10 2:18
mveRichard MacCutchan7-Mar-10 2:18 
If you use a pointer (or indeed a value) in an expression, and the expression modifies that value (as you do above with p++) then the compiler will not guarantee that the new and old values are used in the order that you expect. This is due to compiler optimisation and is spelled out in the C++ language specification. In the line
p1++ = map[((*p++ << 5) & 0x3) | ((*p >> 3) & 0x5)];

if p contains 0x100 before this line is executed, then it will contain 0x101 afterwards. However there is no guarantee that it will contain 0x101 in the right half of the OR expression. You should rewrite your expressions to ensure no side effects.
txtspeak is the realm of 9 year old children, not developers. Christian Graus

AnswerRe: about *p++ Pin
Maximilien7-Mar-10 2:28
Maximilien7-Mar-10 2:28 
QuestionTypedef defined Pin
Herboren6-Mar-10 21:49
Herboren6-Mar-10 21:49 
AnswerRe: Typedef defined Pin
Stephen Hewitt7-Mar-10 1:00
Stephen Hewitt7-Mar-10 1:00 
GeneralRe: Typedef defined Pin
Herboren7-Mar-10 7:11
Herboren7-Mar-10 7:11 
GeneralRe: Typedef defined Pin
Tim Craig7-Mar-10 9:21
Tim Craig7-Mar-10 9:21 
QuestionCRichEditCtrl Line Break Pin
ForNow6-Mar-10 17:01
ForNow6-Mar-10 17:01 
GeneralRe: CRichEditCtrl Line Break Pin
Rage8-Mar-10 4:35
professionalRage8-Mar-10 4:35 
QuestionExiting Application Pin
MrMcIntyre6-Mar-10 9:51
MrMcIntyre6-Mar-10 9:51 
AnswerRe: Exiting Application Pin
LunaticFringe6-Mar-10 10:05
LunaticFringe6-Mar-10 10:05 
GeneralRe: Exiting Application Pin
MrMcIntyre6-Mar-10 10:09
MrMcIntyre6-Mar-10 10:09 
AnswerRe: Exiting Application Pin
Luc Pattyn6-Mar-10 10:09
sitebuilderLuc Pattyn6-Mar-10 10:09 
GeneralRe: Exiting Application Pin
MrMcIntyre6-Mar-10 10:15
MrMcIntyre6-Mar-10 10:15 
GeneralRe: Exiting Application Pin
Tim Craig6-Mar-10 10:26
Tim Craig6-Mar-10 10:26 
GeneralRe: Exiting Application Pin
MrMcIntyre6-Mar-10 10:32
MrMcIntyre6-Mar-10 10:32 
GeneralRe: Exiting Application Pin
MrMcIntyre6-Mar-10 10:39
MrMcIntyre6-Mar-10 10:39 
GeneralRe: Exiting Application Pin
Tim Craig6-Mar-10 11:02
Tim Craig6-Mar-10 11:02 
GeneralRe: Exiting Application Pin
LunaticFringe7-Mar-10 0:27
LunaticFringe7-Mar-10 0:27 

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.