C语言数组内存初始化

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

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

posted @ 2015-12-28 02:35  findumars  Views(520)  Comments(0)    收藏  举报