Information Systems



How do I use snprintf on Windows?

The Windows equivalent is sprintf_s.

#if WIN32
#define snprintf sprintf_s
#endif