title: Warnings like 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead
body: <p>I am just using these wide character literals in my code to learn about them </p>
  
  <pre><code>     wchar_t* wpsub = wcstok(names, names_delim);
       wpsub = wcstok(NULL, names_delim);
       wchar_t* wcopied=new wchar_t[wcslen(wname) + 1];
       strcpy(nameptr, "singh");
       wcscpy(wcopied, wname);
       wcscat(wcopied, L" Singh");
  </code></pre>
  
  <p>why am I getting these warning,I ignored it anyway.
  do we need to ignore any such warnings.</p>
  
  <pre><code>    : warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      : see declaration of 'wcstok'
      : warning C4996: 'wcstok': This function or variable may be unsafe. Consider using wcstok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      : see declaration of 'wcstok'
      : warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      : see declaration of 'strcpy'
      : warning C4996: 'wcscpy': This function or variable may be unsafe. Consider using wcscpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      : see declaration of 'wcscpy'
      : warning C4996: 'wcscat': This function or variable may be unsafe. Consider using wcscat_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      : see declaration of 'wcscat'
  </code></pre>