title: Writing an integer to a file with fputs()
body: <p>It's not possible to do something like <code>fputs(4, fptOut);</code> because fputs doesn't like integers. How can I work around this?</p>
  
  <p>Doing <code>fputs("4", fptOut);</code> is not an option because I'm  working with a counter value.</p>