2008年12月10日星期三

snprintf in Windows

windows中通过以下声明
#if WIN32
#define snprintf sprintf_s
#endif
来使用snprintf。

没有评论: