Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

safe sprintf snprintf(3) considered harmful

Name: Anonymous 2008-09-30 14:21

You should use int _snprintf_s(char *buffer, size_t sizeOfBuffer, size_t count, const char *format,... ); instead.

Name: Anonymous 2008-10-01 6:07

>>22
Fuck the shootout shit.  C++ is faster at function calls (due to having specific registers reserved for this instead of always lugging around explicit parameters), faster at anything dispatched than cobbled together C shit, and the template expansions from the STL libs have all sorts of really tight optimizations that you're not going to have in your "yet another shitty variable-size array" implementation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List