我有以下的类
class Node
{
int key;
Node**Nptr;
public:
Node(int maxsize,int k);
};
Node::Node(int maxsize,int k)
{
//here i want to dynamically allocate the array of pointers of maxsize
key=k;
}
请告诉我如何在构造函数中动态分配一个指针数组 -- 这个数组的大小为maxsize。