Link to home
Start Free TrialLog in
Avatar of mjwilliamson
mjwilliamson

asked on

#include

hi

I want to split my classes up into folders to keep them seperate
and have some order. I have added files from different directories
but the #includes don't work. I've tried

#include "..\PlugIns\SomeHeader.h"

but this does not seem to work.

I also tried creating new directories in the project and dropping
files in but on reopening the project they don't seem to be
there.

How can you package your classes into a hierarchy?

thanks
Avatar of mjwilliamson
mjwilliamson

ASKER

its ok i forgot an extra ..\

ASKER CERTIFIED SOLUTION
Avatar of aphillips
aphillips
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You might want to edit the list of directories to search for include files. From the main menu go to 'Tools | Options...' and select the 'Directories' tab. You can then specify #include files relative to these locations. It is very useful if you want to move projects between different machines

Jad