title: C Error: undefined reference to '_itoa'
body: <p>I'm trying to convert an integer to a character to write to a file, using this line:</p>
  
  <pre><code>fputc(itoa(size, tempBuffer, 10), saveFile);
  </code></pre>
  
  <p>and I receive this warning and message:</p>
  
  <p><strong>warning:</strong> implicit declaration of 'itoa'</p>
  
  <p>undefined reference to '_itoa'</p>
  
  <p>I've already included stdlib.h, and am compiling with:</p>
  
  <pre><code>gcc -Wall -pedantic -ansi
  </code></pre>
  
  <p>Any help would be appreciated, thank you. </p>