Advertisement

05.07.2008 at 06:20AM PDT, ID: 23382630
[x]
Attachment Details

MFC: Organising source code files into logical folders

Asked by sternocera in Windows MFC Programming, C++ Programming Language, Microsoft Visual C++

Hello,

I am developing what is now a rather large MFC application. All source code files are in one folder. This folder has now become very crowded, which has made it necessary to split the project into multiple folders. I can compile CPP files in the child folders that include headers in the base folder by doing #include "../base_header.h" . However, I'm not sure how to include headers in child folders in base cpp files. I would have thought #include "/child/child_header.h", or #include "child/child_header.h" would do the trick, but they don't. How can I include these child headers?

Regards,
SternoceraStart Free Trial
 
Loading Advertisement...
 
[+][-]05.07.2008 at 06:31AM PDT, ID: 21516170

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows MFC Programming, C++ Programming Language, Microsoft Visual C++
Sign Up Now!
Solution Provided By: Zoppo
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.07.2008 at 06:41AM PDT, ID: 21516259

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628