How to implement a class with private bidimensional array?

I have such a class, it has a private member :a 2-dimensional array, whose column and row are specified by users. So how to implement it? Does using " unsigned **ptr " as its private member work? If so, how to use new operator to allocate needed memory?
Topic archived. No new replies allowed.