C语言数组内存初始化

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

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

原文地址:https://www.cnblogs.com/findumars/p/5081369.html