worldcallback issues with contacts

Hi,

I am getting to grips with classes etc but am still having a few problems.... I have tried modifying the contact handler....

b2worldallback.h
Code:
/// Called when two fixtures begin to touch.
void BeginContact(b2Contact* contact);


b2worlcallback.cpp
Code:
void b2ContactListener::BeginContact(b2Contact* contact)
{
b2Fixture fixture = contact.GetFixtureA();


it says GetFixtureA is not part of b2Contact... but I thought it was..... I am sorry to trouble you guys but I am ok with basic c and with maths, its classes etc that I have problems with.

Thanks.
I think you already figured out that the expression should be like this:
b2Fixture *fixture = contact->GetFixtureA();

Original thread: https://box2d.org/forum/viewtopic.php?t=5614