{
char *buf = new char[1024];
ZeroMemory(buf,1024)
for(int i = 0; i < 1023; i++)
buf[i] = '5';
}
int len = strlen(buf);
//返回不含结束符0的字符串长度