how to dynamically allocate the array of pointers in c++????
Hay dear!<br>
i have the following class 

    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;
    }

tell me how can i dynamically allocate the array of pointers in the constructor the size of this array would be maxsize.

how to dynamically allocate the array of pointers in c++????
===

Hay dear!<br>
i have the following class 

    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;
    }

tell me how can i dynamically allocate the array of pointers in the constructor the size of this array would be maxsize.
