C#创建指针并为其分配内存

int* Integral = (int*)Marshal.AllocHGlobal(iWidth * iHeight * 4);

C#不支持 :

int ai[5]= = {0};

int *pi = ai;

这类语法 

猜你喜欢

转载自blog.csdn.net/m0_37759974/article/details/80508105