title: c - warning: implicit declaration of function ‘printf’
body: <p>I know alot of similar questions were asked before but i couldn't find something that would fix this warning i get:</p>
  
  <pre><code>MyIntFunctions.c:19:2: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
  </code></pre>
  
  <p>Occurs here:</p>
  
  <pre><code>void IntPrint (const void *key)
  {
      printf("%d", *(int*)key); // line 19
      printf("\t--&gt;\t");
  }
  </code></pre>
  
  <p>and a similar warning:</p>
  
  <pre><code>MyStringFunctions.c:22:2: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
  
  void StringPrint (const void *key)
  {
      printf("%s",(char*)key); //line 22
      printf("\t--&gt;\t");
  }
  </code></pre>
  
  <p>I really want to understand what is wrong so i won't do that again in the future.</p>