摘要: 众所周知,sprintf不能检查目标字符串的长度,可能造成众多安全问题,所以都会推荐使用snprintf.snprintf(_snprintf)的声明是这样的int _snprintf( char *buffer, size_t count, const char *format [, argument] ... );If len < count, then len characters are stored in buffer, a null-terminator is appended, and len is returned.If len = count, then len cha 阅读全文
posted @ 2010-09-27 16:15 SpringMVC+Hibernate 阅读(170) 评论(0) 推荐(0) 编辑
友情链接:厦门事业单位