阅读:2263回复:1
RtlStringCchPrintf这个函数使用前是不是一定要用memset来初始化它?
书上看到的例子.这个memset一定要用吗?
static WCHAR name[32] ={0}; memset(name,我要初始的数字,sizeof(WCHAR)*32); RtlStringCchPrintf(name,长度,L"ABC%d",我要替换的字符); |
|
沙发#
发布于:2009-11-08 13:47
不需要,跟sprintf一样
|
|
|