In article <48931c71$0$90271$>,
says...
> I have a folder 'app' containing a file 'main.cpp' and a subfolder 'types'
> (containing various header files). In main.cpp some header files from the
> subdir 'types' are included like:
>
> 1)
> #include<types/vector.h>
> #include<types/matrix.h>
>
> But I have to change them to
>
> 2)
> #include "types/vector.h"
> #include "types/matrix.h"
>
> to make compilation work.
This is what you almost certainly _should_ do. To make it work with the
angle brackets, you have to lie to the compiler and tell it that the
current diretory (i.e. the parent of your 'types' directory) contains
"system" headers. That's typically done with the the '-I' compiler flag,
though that varies and isn't really topical here anyway.
--
Later,
Jerry.
The universe is a figment of its own imagination.