Click here to Skip to main content
15,885,546 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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.

GeneralRe: Header file Tips wanted Pin
Joao Vaz11-Mar-02 4:56
Joao Vaz11-Mar-02 4:56 
GeneralRe: Header file Tips wanted Pin
Rick York11-Mar-02 9:52
mveRick York11-Mar-02 9:52 
GeneralSendMessage and ListBox Pin
User 665811-Mar-02 2:06
User 665811-Mar-02 2:06 
GeneralRe: SendMessage and ListBox Pin
Ravi Bhavnani11-Mar-02 2:21
professionalRavi Bhavnani11-Mar-02 2:21 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 2:27
User 665811-Mar-02 2:27 
GeneralRe: SendMessage and ListBox Pin
Ravi Bhavnani11-Mar-02 2:36
professionalRavi Bhavnani11-Mar-02 2:36 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 2:34
User 665811-Mar-02 2:34 
GeneralRe: SendMessage and ListBox Pin
Ravi Bhavnani11-Mar-02 4:10
professionalRavi Bhavnani11-Mar-02 4:10 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 4:34
User 665811-Mar-02 4:34 
GeneralRe: Just found strange behavior Pin
User 665811-Mar-02 3:07
User 665811-Mar-02 3:07 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 3:52
Tomasz Sowinski11-Mar-02 3:52 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 4:00
User 665811-Mar-02 4:00 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 4:16
Tomasz Sowinski11-Mar-02 4:16 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 4:21
User 665811-Mar-02 4:21 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 4:23
Tomasz Sowinski11-Mar-02 4:23 
GeneralRe: SendMessage and ListBox Pin
User 665811-Mar-02 4:29
User 665811-Mar-02 4:29 
GeneralRe: SendMessage and ListBox Pin
Tomasz Sowinski11-Mar-02 4:37
Tomasz Sowinski11-Mar-02 4:37 

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.