2d dynamic arrays

This is a discussion on 2d dynamic arrays within the C++ Programming forums, part of the General Programming Boards category; please help me i cant seem to fix this program. i have 3 syntax errors and i dont know how ...

I think the most important error is that your class does not have a member called m, they don't contain the array at all. Your constructors use a local variable m but this goes out of scope after the end of the constructor.