.NET, 怎样初始化动态树祖# DotNet - 窗口里的风景
s*i
1 楼
public __gc class Class1
{
public:
void Test(int arraySize)
{
int __nogc* p1[10]; //this is OK
int __nogc* p2; //OK
//how to initialize p2 and make its size equal to "arraySize"
}
};
{
public:
void Test(int arraySize)
{
int __nogc* p1[10]; //this is OK
int __nogc* p2; //OK
//how to initialize p2 and make its size equal to "arraySize"
}
};