This is a discussion on Strcpy within the C Programming forums, part of the General Programming Boards category; Originally Posted by MacGyver Again, I ask, why not just dynamically size your buffer for sprintf() or properly size the ...
I think the n string functions make it harder (but obviously not impossible) to "use it wrong".
Is snprintf() a standard C function? I've never heard of it and I don't see it listed on this site: http://www.cppreference.com/all_c_functions.html
Is it a C99 function?