title: sprintf_s was not declared in this scope
body: <p>I have a C program that uses <code>sprintf_s</code>. It works fine in Windows, but when I compile my code in Linux it gives this error:</p>
  
  <pre><code>sprintf_s was not declared in this scope.
  </code></pre>
  
  <p>Why does this happen and how can I fix it?</p>