> do I have to copy all the included files in the same directory of the source code?
That depends on what the include files are.
If it's things like
[tt]#include <stdio.h>[/tt]
then you don't have to do anything special. You can see all the standard include files in the /usr/include directory.
If it's things like
[tt]#include "cp.h"[/tt]
then that usually means it's a file local to the module being compiled. Typically, these are in either the same directory or a relative directory close by (say [tt]../inc/cp.h[/tt] )
If you have a lot of files close by, then you can do this on the command line
[tt]gcc -I../inc cp.c[/tt]
The -I option tells the compiler where else to find include files.
--