Click here to Skip to main content
16,012,173 members
Articles / Programming Languages / C

swprintf_s Safe? Maybe Not.

Rate me:
Please Sign up or sign in to vote.
4.67/5 (4 votes)
9 Feb 2010CPOL2 min read 36K   6  
swprintf_s() and sprintf_s() are additions to VC++8, and were supposedly written to tolerate formatting errors and to avoid buffer overruns. They differ from their corresponding non-safe cousins swprintf() and sprintf() by taking an extra argument (the 2nd parameter), which is the size of the...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions