标签:class ems rand oid pre int void byte ++
void RandBgrData(BYTE **data,int *size,int width,int height) { *size = width*height*3; *data = (BYTE*)malloc(*size); memset(*data,0,*size); for(int i=0;i<*size;i++) { BYTE c = rand()%255; *(*data+i) = c; } }
标签:class ems rand oid pre int void byte ++
原文地址:http://www.cnblogs.com/hatsusakana/p/7799644.html