Will C++ preprocessor deals with the content of a h file which is included by my current h file : <p>For example:
In my.h file, I included nest1.h</p>

<pre><code>#ifndef MY_H
#define MY_H

#include nest1.h
...
some_function_declaration
...
#endif
</code></pre>

<p>And in nest1.h, I included another h file nest2.h</p>

<pre><code>#ifndef NEST1_H 
#define NEST1_H

#include nest2.h
...
#endif
</code></pre>

<p>nest2.h</p>

<pre><code>#ifndef NEST2_H
#define NEST2_H

int foo();
#endif
</code></pre>

<p>Will preprocessor copy foo() into my.h? Can I use foo() in my.cc file? 
And if nest2.h included nest3.h, can my.cc use the functions in nest3.h? And why?
Please also link the relative articles if someone know the answer. Thank you!</p>
