内存初始化当然有必然,但是不用memset,直接这样写就可以了:
char* szRemoteFile = new char[MAX_LENGTH]();

http://blog.csdn.net/passion_wu128/article/details/38964045

04-23 22:32