sprintf()与sscanf()
摘要:
1、sprintf() sprintf()用于向字符串中写入格式化的数据,eg: int dSrc1 = 1; int dSrc2 = 2; char str[] = "hello"; char buf[100] = { 0 }; sprintf_s(buf, (unsigned)_countof( 阅读全文
posted @ 2016-08-18 16:25 整鬼专家 阅读(400) 评论(0) 推荐(0) 编辑