title: Correct use of sscanf_s
body: <p>I'm trying to parse a string into a char and multiple floats in the following format:</p>
  
  <pre><code>v 1.00000 1.00000 1.00000
  </code></pre>
  
  <p>Originally using <code>sscanf</code> I could do so with:</p>
  
  <pre><code>char b;
  float x = 0.0f;
  float y = 0.0f;
  float z = 0.0f;
  int result = sscanf(lineHeader,"%c %f %f %f", &amp;b, &amp;x, &amp;y, &amp;z);
  </code></pre>
  
  <p>However, I'm trying to eliminate an unrelated problem which requires me to use <code>sscanf_s</code>. </p>
  
  <p>If I simply change the code to:</p>
  
  <pre><code>int result = sscanf_s(lineHeader,"%c %f %f %f", &amp;b, &amp;x, &amp;y, &amp;z);
  </code></pre>
  
  <p>I get an exception stating an unsigned integer is expected. Does <code>sscanf_s</code> use different formatting to parse strings?</p>