title: fopen deprecated warning
body: <p>On <em>Visual Studio 2005 C++ compiler</em>, I get the following warning when my code uses the <strong>fopen</strong> and such calls.</p>
  
  <pre><code>1&gt;foo.cpp(5) : warning C4996: 'fopen' was declared deprecated
  1&gt;        c:\program files\microsoft visual studio 8\vc\include\stdio.h(234) : see declaration of 'fopen'
  1&gt;        Message: 'This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
  </code></pre>
  
  <p>How do I prevent this?</p>