2012年10月17日 - memset用來對一段內存空間全部設置為某個字符,一般用在對定義的字符串進行初始化為『 』或『\0』;例:char a[100];memset(a, '\0', sizeof(a));
anwendeng.blogspot.com