You really don't need a tutorial for that. It's easy as pie. Just imagine that when you write " include "sample.c" this will place the contents of sample.c exactly where you have the include.
Always learn from history, to be sure you make the same mistakes again...