Header files for C++ programming

Greetings.

I have a directory “Setup” on the Beaglebone Black with all my .cpp files stored in it. Within this directory is a sub directory holding all my header files appropriately labeled “header”
To access these files within the beaglebone blacks directories do I have to use

“/home/UART/Setup/header.BlackADC.h”

or simply use

“/header.blackADC.h”

I cannot figure this out.
Thanks

#include "header.blackADC.h"

and add search path for the header files to the compiler options, e.g.:

g++ -I/home/UART/Setup [other options] your_source.cpp -o your_binary

Jacek

On Mon, 3 Apr 2017 15:19:22 -0700 (PDT), Bill Dussault
<frankietankie@gmail.com> declaimed the
following:

Greetings.

I have a directory "Setup" on the Beaglebone Black with all my .cpp files
stored in it. Within this directory is a sub directory holding all my
header files appropriately labeled "header"
To access these files within the beaglebone blacks directories do I have to
use

  Confusing... Do you mean the header files all start with "header.****",
or do you mean the SUBdirectory is named "header"?

<include> "/home/UART/Setup/header.BlackADC.h"

or simply use

<include> "/header.blackADC.h"

  Where are you building in?

  If building in setup directory, you would specify

  #include "subdirectory/header.BlackADC.h"

if they are in the unnamed subdirectory

...

  #include "header/BlackADC.h"

if the subdirectory is named "header"

  If building from some other directory, you'll need enough path
specification to find the correct directory.