title: Include c file in another
body: <p>I want to include a .c file in another. Is it possible right? It works well if I include a header file in a .c file, but doesn't work as well if I include a .c file in another .c file.<br>
  I am using Visual Studio and I get the following error:  </p>
  
  <pre><code>main.obj : error LNK2005: _sayHello already defined in sayHello.obj  
  /* main.c  */
  #include "sayHello.c"
  
  int main()
  {
      return 0;
  }  
  /* sayHello.c */
  
  #include &lt;stdio.h&gt;
  
  void sayHello()
  {
      printf("Hello World");
  }
  </code></pre>
  
  <p>I don't know what this error could mean. Time to ask more advanced C coders. :)</p>