Click here to Skip to main content
15,891,657 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using HTMLView with HTML resources Pin
pba_11-Mar-02 7:15
pba_11-Mar-02 7:15 
GeneralReporting Property Page Button to Parent Dialog Pin
MJ_Karas11-Mar-02 6:32
MJ_Karas11-Mar-02 6:32 
GeneralRe: Reporting Property Page Button to Parent Dialog Pin
Joaquín M López Muñoz11-Mar-02 7:32
Joaquín M López Muñoz11-Mar-02 7:32 
GeneralRe: Reporting Property Page Button to Parent Dialog Pin
MJ_Karas11-Mar-02 8:16
MJ_Karas11-Mar-02 8:16 
GeneralSetWindowPos - trying to move a button Pin
dazinith11-Mar-02 6:27
dazinith11-Mar-02 6:27 
GeneralRe: SetWindowPos - trying to move a button Pin
Tim Smith11-Mar-02 6:37
Tim Smith11-Mar-02 6:37 
GeneralRe: SetWindowPos - trying to move a button Pin
dazinith11-Mar-02 6:43
dazinith11-Mar-02 6:43 
GeneralRe: SetWindowPos - trying to move a button Pin
Carlos Antollini11-Mar-02 7:11
Carlos Antollini11-Mar-02 7:11 
GeneralMFC protected constructor Pin
11-Mar-02 5:54
suss11-Mar-02 5:54 
GeneralRe: MFC protected constructor Pin
Joaquín M López Muñoz11-Mar-02 6:08
Joaquín M López Muñoz11-Mar-02 6:08 
Generalhelp with printing please Pin
IGeorgeI11-Mar-02 5:27
IGeorgeI11-Mar-02 5:27 
GeneralRe: help with printing please Pin
Paul M Watt11-Mar-02 6:06
mentorPaul M Watt11-Mar-02 6:06 
GeneralCode Segment Question Pin
Loli1011-Mar-02 4:21
Loli1011-Mar-02 4:21 
GeneralRe: Code Segment Question Pin
Tomasz Sowinski11-Mar-02 4:24
Tomasz Sowinski11-Mar-02 4:24 
GeneralRe: Code Segment Question Pin
Loli1011-Mar-02 5:48
Loli1011-Mar-02 5:48 
GeneralRe: Code Segment Question Pin
MJ_Karas11-Mar-02 6:43
MJ_Karas11-Mar-02 6:43 
GeneralRe: Code Segment Question Pin
Loli1011-Mar-02 8:14
Loli1011-Mar-02 8:14 
GeneralProblem with ATL 7.0 service (HELP!) Pin
Le centriste11-Mar-02 3:50
Le centriste11-Mar-02 3:50 
GeneralHeader file Tips wanted Pin
11-Mar-02 2:40
suss11-Mar-02 2:40 
GeneralRe: Header file Tips wanted Pin
Carlos Antollini11-Mar-02 3:31
Carlos Antollini11-Mar-02 3:31 
GeneralRe: Header file Tips wanted Pin
Tomasz Sowinski11-Mar-02 3:41
Tomasz Sowinski11-Mar-02 3:41 
GeneralRe: Header file Tips wanted Pin
Joao Vaz11-Mar-02 4:52
Joao Vaz11-Mar-02 4:52 
GeneralRe: Header file Tips wanted Pin
Tomasz Sowinski11-Mar-02 5:01
Tomasz Sowinski11-Mar-02 5:01 
GeneralRe: Header file Tips wanted Pin
Joao Vaz11-Mar-02 6:29
Joao Vaz11-Mar-02 6:29 
GeneralRe: Header file Tips wanted Pin
Ramon Casellas11-Mar-02 4:50
Ramon Casellas11-Mar-02 4:50 
There are some tips discussed in Herb Sutter exceptional and more exceptional C++. Guidelines that may reduce the include hell are:

* use forward delarations. The author stresses the use of #include < iosfwd >

* Avoid unnecesary inheritace. "is implemented in terms of". By encapsulating data members (pointers wrapped in a convenient smart pointer like std::auto_ptr or boost::shared_ptr ).

* The pimpl idiom.


For further details go to www.gotw.ca (lots of C++ good material there) and even better, support the author by buying his book Smile | :) (I'm in no way related to the author, but I do enjoy reading his columns...)


Regards,
R.

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.