未处理的异常 0xc0000005 ,读取位置0x00000000时发生访问冲突。如何解决

调试程序时发生错误,通过函数调用堆展定位到的语句:BYTE currentElement = bitmap[current.x][ current.y];并且
指针定义如下:Point current; BYTE ** bitmap; // 图像指针
point定义如下:
class Point

{
public:
Point();
Point(int a, int b);
virtual ~Point();

public:

int x;
int y;
void translate(int dx, int dy);
void set(int a, int b);

Point getCenter(Point p1, Point p2);
bool equals(Point compare);
int distanceOf(Point other);

};

不知道哪里出现了空指针之类的内存错误,各位大侠看看怎么修改。

是不是bitmap没有分配内存,怎么分配呢?求高手解答

BYTE bitmap[高][宽]

point类里面还能用point来定义对象??你查查看