Click here to Skip to main content
15,898,538 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 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 
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 
A couple of reasons to use typedef is to make your code clearer to some poor human who has to read it.

If you're using a particular declaration a great number of places in your code, it MAY make your code clear if you make the intended use of those variables or funcitions obvious using typedefs.

Another is laziness. Poke tongue | ;-P You often see typedefs where a particular declaration is very long and verbose, such as template classes and functions. It saves a lot of typing, retyping, and compiler errors to correct. And in the process, it may make your code more readable as well.
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

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 
GeneralRe: Exiting Application Pin
Richard MacCutchan7-Mar-10 2:10
mveRichard MacCutchan7-Mar-10 2:10 
GeneralRe: Exiting Application Pin
Tim Craig7-Mar-10 9:08
Tim Craig7-Mar-10 9:08 
GeneralRe: Exiting Application Pin
LunaticFringe7-Mar-10 9:22
LunaticFringe7-Mar-10 9:22 
GeneralRe: Exiting Application Pin
Tim Craig7-Mar-10 13:27
Tim Craig7-Mar-10 13:27 
QuestionCompiling .cpp made from Matlab > Errors Pin
skyhr6-Mar-10 4:20
skyhr6-Mar-10 4:20 

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.