微笑黑可可

无论经历什么,请保持微笑!

常用链接

统计

最新评论

strnins

bool  strnins( char *  dst, size_t n,  const   char *  src,  int  pos);
/* ***********************************************
有以下几种情况要考虑
** dst ==NULL
** src == NULL
** pos超过尾部
** 希望对pos为负数时,能按python的方式解释.
** 如果dst空间不够时,只插入src的一部分.
*************************************************
*/

posted on 2006-03-21 11:09 莫千聪 阅读(129) 评论(0)  编辑 收藏 引用 所属分类: C/C++温习


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理