Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDialogTemplate Pin
siva45524-Jun-09 8:31
siva45524-Jun-09 8:31 
GeneralRe: CDialogTemplate Pin
David Crow24-Jun-09 8:35
David Crow24-Jun-09 8:35 
GeneralRe: CDialogTemplate Pin
p_196024-Jun-09 8:48
p_196024-Jun-09 8:48 
QuestionRe: CDialogTemplate Pin
David Crow24-Jun-09 8:56
David Crow24-Jun-09 8:56 
AnswerRe: CDialogTemplate Pin
p_196024-Jun-09 9:03
p_196024-Jun-09 9:03 
QuestionRe: CDialogTemplate Pin
David Crow24-Jun-09 9:07
David Crow24-Jun-09 9:07 
AnswerRe: CDialogTemplate Pin
Ozer Karaagac24-Jun-09 12:53
professionalOzer Karaagac24-Jun-09 12:53 
QuestionBest practice for include directives vs. settings search path ? Pin
Maximilien24-Jun-09 4:27
Maximilien24-Jun-09 4:27 
Howdy, slow day today, waiting for a phone call.

I was looking at some code recently, and there was an include like this :

#include "myfile.h"


And I was wondering from what "library" this file comes from. I know I could do a right-click and open and look at the property... but from a code point of view it's not very practical (IMO).

So, I looked in the project's settings to see that there are about 25 lines of "additional include paths", one for each library we have:

for example :
../lib/lib1
../lib/lib2
../lib/lib3
../lib/lib4


So, the questions :

Is it best practice to limit the number of "additional include path" to a minimum and have more descriptive include directive in the code ?
for example :
in the project settings :
../lib

and in the code have this :
#include "lib1/myfile.h"
#include "lib2/myfile2.h"


Is there a compilation performance issue with having a large amount of include paths vs. having more descriptive
includes in the code ?

Any good reading about this topic available somewhere ?
Thanks.

This signature was proudly tested on animals.

AnswerRe: Best practice for include directives vs. settings search path ? Pin
Stuart Dootson24-Jun-09 7:12
professionalStuart Dootson24-Jun-09 7:12 
QuestionCan we get column value from SQL (does not know member value)? Pin
Curious 200924-Jun-09 4:22
Curious 200924-Jun-09 4:22 
QuestionRe: Can we get column value from SQL (does not know member value)? Pin
David Crow24-Jun-09 5:05
David Crow24-Jun-09 5:05 
AnswerRe: Can we get column value from SQL (does not know member value)? Pin
Curious 200924-Jun-09 7:02
Curious 200924-Jun-09 7:02 
QuestionIGPM interface Pin
subhabasu24-Jun-09 2:51
subhabasu24-Jun-09 2:51 
QuestionClose X button in tadded control and vertical scroll. Pin
birajendu24-Jun-09 2:46
birajendu24-Jun-09 2:46 
Questionerror C2664 in VS2005 VC++ Pin
Nandu_77b24-Jun-09 2:01
Nandu_77b24-Jun-09 2:01 
AnswerRe: error C2664 in VS2005 VC++ Pin
Cedric Moonen24-Jun-09 2:03
Cedric Moonen24-Jun-09 2:03 
QuestionOpening multiple dialogs Pin
FISH78624-Jun-09 1:51
FISH78624-Jun-09 1:51 
AnswerRe: Opening multiple dialogs Pin
Cedric Moonen24-Jun-09 2:00
Cedric Moonen24-Jun-09 2:00 
GeneralRe: Opening multiple dialogs Pin
FISH78624-Jun-09 2:10
FISH78624-Jun-09 2:10 
AnswerRe: Opening multiple dialogs Pin
_AnsHUMAN_ 24-Jun-09 2:57
_AnsHUMAN_ 24-Jun-09 2:57 
Questionrandom numbers - the old bugger ... Pin
Souldrift24-Jun-09 1:02
Souldrift24-Jun-09 1:02 
AnswerRe: random numbers - the old bugger ... Pin
Michael Schubert24-Jun-09 1:31
Michael Schubert24-Jun-09 1:31 
GeneralRe: random numbers - the old bugger ... Pin
Souldrift24-Jun-09 2:29
Souldrift24-Jun-09 2:29 
AnswerRe: random numbers - the old bugger ... [modified] Pin
CPallini24-Jun-09 1:40
mveCPallini24-Jun-09 1:40 
GeneralRe: random numbers - the old bugger ... Pin
Souldrift24-Jun-09 2:29
Souldrift24-Jun-09 2:29 

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.